┌─────────────────────────── Checkin (this app) ───────────────────────────┐
│ │
Browser ──────────▶ │ Fortify ── login / passkeys / 2FA ── session (web guard) │
│ │ │
│ ▼ │
App ◀── code ────── │ /oauth/authorize ── EnsureUserMayUseClient ── Passport AuthorizationCtl │
App ──── code ────▶ │ /oauth/token ──── App\Oidc\AuthCodeGrant (nonce) ── IdTokenResponse │
App ◀── tokens ──── │ access_token (Passport JWT) + id_token (RS256) │
App ──── bearer ──▶ │ /oauth/userinfo ── auth:api (Passport guard) ── Claims │
App ─────────────▶ │ /.well-known/openid-configuration · /oauth/jwks · /oauth/logout │
│ │
│ Livewire /admin ── People · Applications · Audit log · Security · Updates│
└───────────────────────────────────────────────────────────────────────────┘app/Oidc/— the OpenID Connect layer over Passport: a nonce-aware authorization code grant, the ID token response, claims, keys (JWKS/kid from Passport's RSA key).app/Http/Controllers/Oidc/— discovery, JWKS, UserInfo and end-session endpoints.app/Http/Middleware/EnsureUserMayUseClient— the access check on/oauth/authorize.routes/oauth.php— Passport's routes, declared by hand (Passport::ignoreRoutes()) so the middleware can sit on them; loaded without thewebgroup.app/Models/Client— Passport's client plusslug,description,launch_url,trusted,access,sortand the people assigned.resources/views/pages/admin/— the administration pages (Livewire 4 single-file components, Flux UI).app/Updates/— the self-updater (app:update).
Read docs/architecture.md for the full picture and the reasons behind the choices (why OIDC and not SAML, why Passport, how the nonce travels).