Diagnosly supports OIDC SSO with Okta, Azure AD / Entra ID, Google Workspace, and Auth0. SAML 2.0 is on the roadmap.
Configure Okta
- In Okta, create a new Web Application in the Admin Console.
- Set Sign-in redirect URIs to
https://api.diagnosly.app/api/v1/auth/sso/{provider_id}/callback. - Set Sign-out redirect URIs to
https://console.diagnosly.app/login. - Note the Client ID and Client Secret, you'll need them in step 6.
- Note the Issuer URL, usually
https://<your-domain>.okta.com/oauth2/default. - In Diagnosly: Admin → Identity Providers → Add provider:
- Name: what users see on the login page
- Provider type:
oidc - Client ID + Client Secret + Issuer URL, from Okta
- Allowed domains (optional), restrict to
@yourcompany.comto prevent random Okta accounts logging in
JIT provisioning
When a user signs in via SSO for the first time, Diagnosly auto-creates a user record in your tenant. Default role is viewer, promote in Admin → Users as needed.
Domain allowlist
Set allowed_domains to one or more email domains. Users whose Okta email claim doesn't match are rejected at the callback, no JIT user created.