Organization admins can configure Single Sign-On (SSO) providers directly from Organization settings → Single Sign-On, without editing environment variables or involving the Lightdash team. Each provider is configured per organization and routed to users by their email domain.Documentation Index
Fetch the complete documentation index at: https://docs.lightdash.com/llms.txt
Use this file to discover all available pages before exploring further.
Self-serve SSO configuration is available on paid Lightdash plans. Which providers you can configure depends on your plan — see the SSO providers matrix. Self-hosted instances can configure SSO from this panel or with environment variables — see Self-hosted alternative.
Prerequisites
Before a provider routes any users, your organization must have at least one verified domain. SSO routing only matches users whose email domain is verified for your organization, so verify your domains first.How routing works
- Email-domain routing — when a user enters their email on the login page, Lightdash shows only the providers configured for that email’s verified domain.
- Override organization domains — by default a provider routes all of your organization’s verified domains. Turn on Override organization domains to restrict it to a subset. See Routing SSO methods to verified domains.
- Enabled toggle — turn a configured provider on or off without deleting it. A disabled provider is ignored by routing.
- Password sign-in — each provider has an Allow password sign-in option. The password field is hidden only when every provider matching a user’s domain disallows it (lenient rule: if any matching provider allows password, it is shown). Disallowing it everywhere enforces SSO-only sign-in.
- Precedence — when a per-organization provider matches a user’s domain, it takes precedence over instance-level SSO for that user.
Configuration steps
The flow is the same for every credential-based provider:- Create an OAuth/OIDC application in your identity provider.
- Set the redirect (callback) URL to the value in the table below, replacing
{{ lightdash_url }}with your instance URL (for examplehttps://app.lightdash.cloud, or your self-hosted domain). - Copy the resulting credentials into Organization settings → Single Sign-On → provider → Set up.
- Set the routing domains (Override organization domains) and Allow password sign-in as needed, then enable the provider.
| Provider | Redirect (callback) URL |
|---|---|
| Okta | {{ lightdash_url }}/api/v1/oauth/redirect/okta |
| Azure AD | {{ lightdash_url }}/api/v1/oauth/redirect/azuread |
| OneLogin | {{ lightdash_url }}/api/v1/oauth/redirect/oneLogin |
| OpenID Connect | {{ lightdash_url }}/api/v1/oauth/redirect/oidc |
When you save an Okta or Generic OIDC configuration, Lightdash validates that the provider URL it must fetch (the Okta domain / metadata document URL) resolves to a public
https:// address. See URL requirements for organization-managed SSO.Okta
Create an OIDC web application in Okta (see the detailed Okta steps), then enter:| Field | Required? |
|---|---|
| Issuer URI | |
| Okta domain | |
| Client ID | |
| Client secret | |
| Authorization server ID | |
| Extra scopes |
Azure Active Directory
Register an application in Azure AD (see the detailed Azure AD steps), then enter:| Field | Required? |
|---|---|
| Application (client) ID | |
| Directory (tenant) ID | |
| Client secret |
OneLogin
Create an OpenID Connect (OIDC) app in OneLogin (see the detailed OneLogin steps), then enter:| Field | Required? |
|---|---|
| Issuer URL | |
| Client ID | |
| Client secret |
OpenID Connect
Connect any OpenID Connect-compliant provider (Keycloak, Auth0, PingIdentity, etc.), then enter:| Field | Required? |
|---|---|
| Client ID | |
| Client secret | |
| Metadata document URL | |
| Scopes |
.well-known/openid-configuration).
Self-hosted instances don’t use a shared Google app. Create your own Google Cloud OAuth client — set the authorized redirect URI to
{{ lightdash_url }}/api/v1/oauth/redirect/google following Google’s Create an OAuth web client ID guide — and provide the credentials via environment variables. See Google SSO configuration.SSO account linking
Account linking controls what happens when a user signs in via SSO and their identity isn’t already attached to a Lightdash account. There are two independent toggles:- Link SSO identities across providers — when a user signs in with a new OIDC provider, link the new identity to an existing user that already has another OIDC identity with the same email.
- Link SSO logins to existing accounts by email — when a user signs in via OIDC with an email that matches an existing Lightdash user, attach the SSO identity to that user instead of failing the login. Required when using SCIM with SSO so SCIM-provisioned users can sign in.