Enterprise SSO
Connect an OpenID Connect identity provider to Neuroline.
Neuroline uses your verified email domain to select the correct OpenID Connect connection. SSO authenticates users but does not grant organization access: invite each user to the organization before they sign in with SSO.
Prerequisites
Your identity provider must support:
- OpenID Connect discovery over HTTPS
- Authorization Code flow
- PKCE with
S256 client_secret_posttoken authentication- the
openid,email, andprofilescopes
The returned identity must include sub and email. When email_verified is
present, it must be true. The email domain must exactly match the domain
verified in Neuroline.
1. Verify your domain
-
Open Organization → SSO in the Neuroline dashboard.
-
Enter the domain used in your users' email addresses, without
https://. -
Create the TXT record shown by Neuroline:
Name: _neuroline-verification.example.com Value: token=<generated value> -
Wait for DNS propagation, then select Check DNS record.
Changing the domain starts verification again and clears the stored OIDC configuration.
2. Register Neuroline with your identity provider
Create an OIDC web application with:
Redirect URI: https://<your-neuroline-origin>/api/auth/oidc/callback
Flow: Authorization Code
PKCE: S256
Scopes: openid email profile
Token auth: client_secret_postFor the Neuroline development environment, the redirect URI is:
https://dev.neuroline.ai/api/auth/oidc/callbackUse the issuer URL advertised by your identity provider. It must be HTTPS and must expose a valid OpenID Connect discovery document.
3. Save and test the connection
- Enter the issuer URL, client ID, and client secret in Neuroline.
- Save the connection.
- Sign out and select SSO on the Neuroline login page.
- Enter an invited user's email address on the verified domain.
- Complete authentication at the identity provider.
If sign-in fails, first check the redirect URI, issuer URL, client
authentication method, returned email domain, and email_verified claim.