Authentication
Session cookies after Authentik OIDC (Google for end users).
Browser clients use GET /api/auth/login to start OIDC and GET /api/auth/callback to complete the flow. The server sets an HttpOnly session cookie. Log out with GET /api/auth/logout.
GET /api/auth/login
GET /api/auth/callback?code=...
GET /api/auth/logoutBrowser /api routes use the session cookie. Org API keys (owner/admin on /api-keys) authenticate the MCP harness channel (Bearer on /mcp) when MCP_ENABLED is on. The session cookie must not authenticate /mcp. See ADR 0007.
