Single sign-on (SSO)
AbstractAI supports any OpenID Connect provider using the authorization-code flow with PKCE. When it’s configured, the login page shows Sign in with <name>.
Configure
Section titled “Configure”Register an app with your provider, with the redirect URL <platform URL>/auth/sso/callback, then set on the platform:
| Setting | |
|---|---|
OIDC_ISSUER |
e.g. https://acme.okta.com (SSO is off when blank) |
OIDC_CLIENT_ID, OIDC_CLIENT_SECRET |
From the app you registered |
OIDC_REDIRECT_URI |
<platform URL>/auth/sso/callback |
OIDC_ALLOWED_DOMAINS |
Optional, e.g. acme.com,acme.co.uk |
OIDC_NAME |
Button label, default “SSO” |
On the hosted service, SSO is part of the Team plan — contact us to have it set up for your company.
How sign-in works
Section titled “How sign-in works”- Only a provider-verified email signs in. It reaches the account with that email (linked on first SSO login) or creates one.
- SSO never grants admin.
- The ID token is checked against the provider’s keys (RS256), plus issuer, audience, expiry and nonce. The PKCE verifier stays in a signed, HttpOnly cookie.