Login, SSO, and MFA
Diagnose local login failures, Entra redirects, missing access, sessions, and MFA problems.
Local login fails
- Confirm
AUTH_LOCAL_ENABLED=true. - Confirm the account is active and the email is correct.
- Check API logs for rate-limit, password, or session errors.
- Verify
JWT_SECRETis stable across API restarts or replicas. - Confirm the browser reaches the same public origin configured in the base URLs.
Entra redirect fails
Compare the Entra registration and ENTRA_REDIRECT_URI character for character. Check the scheme, hostname, port, and callback path. Use the tenant GUID in ENTRA_TENANT_ID. Behind a proxy, confirm the public base URLs use the external HTTPS origin.
Login succeeds but no models appear
Authentication is separate from model authorization. Confirm the provider is healthy, the model is allowed, and the user's role or group is assigned.
MFA problem
Confirm server time is synchronized and the authenticator device time is correct. Use the documented recovery path. Do not disable workspace-wide security controls as a first response.
Session expires too often
Review JWT_EXP_MINUTES. If only some users are affected, also inspect proxy cookie handling, multiple API instances with inconsistent secrets, and browser privacy settings.