SSO_CONFIG.
Generic Open ID Connect
- LICENSE_KEY - Your signed license key provided by the GrowthBook team
- SSO_CONFIG - A JSON-encoded string that configures SSO (using OpenID Connect). It should be an object with the following keys:
clientId(string)clientSecret(string)emailDomains(array of strings, optional) - Allow auto-joining from a specified email domain.metadata(object)issuer(string)authorization_endpoint(string)jwks_uri(string)id_token_signing_alg_values_supported(array of strings)token_endpoint(string)code_challenge_methods_supported(array of strings)logout_endpoint(string, optional)extraQueryParams(object, optional) - Dictionary of extra query params to be passed along with the/authorizeOAuth calladditionalScope(string, optional) - Additional scopes to include, along with the default value:openid profile email
{APP_ORIGIN}/oauth/callback
Configuring SSOWith all the SSO providers listed below, replace the all caps values with values from the provider, JSON encode the object, and set to the
SSO_CONFIG environment variable for GrowthBook.SSO Providers
Okta
See complete Okta instructions
See complete Okta instructions

- Allow refresh tokens and specify callback URLs. If you are using the cloud, you can use the following values:
- Sign-in redirect URIs -
https://app.growthbook.io/oauth/callback - Sign-out redirect URIs (optional) -
https://app.growthbook.io
If you are self-hosting, replace with
https://app.growthbook.iowith the value from yourAPP_ORIGIN
- Sign-in redirect URIs -
- Require PKCE as additional verification(optional)
You will need the following in order to configure SSO in GrowthBook:CLIENT_IDCLIENT_SECRETBASE_URL- This is typically in the format:https://your-company.okta.com/orhttps://your-company.oktapreview.com/EMAIL_DOMAIN
If using GrowthBook Cloud, send your account representative the above and we will enable SSO on your account.
If self-hosting, add the environment settings at the beginning of this section to enable SSO on your instance.
Auth0
Enabling offline access and OIDC complianceWhen setting up Auth0, please ensure that you’ve enabled offline access, and check the
OIDC Compliant checkbox.Azure AD
Registering an Application in AzureIn Azure, register an Application, instead of Enterprise, as we use OpenID Connect, not SAML.
See complete Azure instructions
See complete Azure instructions
- Register an Application (we use OpenID Connect, so choose regular app, not Enterprise)

- Enter the redirect URL as APP_HOST/oauth/callback

- Take note of your Application Id (CLIENT_ID) and Directory Id (TENANT_ID). You will need it later

- Generate a new Client Secret

- Take note of the Secret Value (CLIENT_SECRET). You will need it in the next step
- Construct the JSON configuration for GrowthBook. Replace
CLIENT_ID
, CLIENT_SECRET, EMAIL_DOMAIN, and TENANT_ID, as into the JSON object above. - Pass the JSON string into the environment variable SSO_CONFIG of your GrowthBook container
OneLogin
See complete OneLogin instructions
See complete OneLogin instructions
- Create a new OIDC Web application. Browse to the Applications section of OneLogin from the top nav, then choose “Add App” from the top right.

- When the list of applications opens, search for “openid connect”. Select the option named “OpenID Connect (OIDC)”.

- Add the name “GrowthBook” (or whatever you would like to name it), an optional description and click save. The first save may not look like anything has happened, but you should see more options on the left menu when successful.
- Click on the “Configuration” item in the left nav menu, and enter the following values for the three input fields (note: for self-hosting, replace
app.growthbook.io
with your own domain)- Login URL:
https://app.growthbook.io
- Redirect URIs:
https://app.growthbook.io/oauth/callback
- Post Logout Redirect URIs:
https://app.growthbook.io
You can optionally add images for the application from the info if you like. Click Save.
- Login URL:
- Click on the “SSO” item from the left nav menu. Here you need to record the Client ID and Client Secret and Issuer URLYou can leave the other settings as default (Application Type: Web, and Authentication Method: Basic). Click save if you haven’t already.

- For self-hosted instances: construct the JSON configuration for GrowthBook. Replace CLIENT_ID, CLIENT_SECRET, EMAIL_DOMAIN, and TENANT_ID, as into the JSON object above. The ONELOGIN_DOMAIN will be the same domain from your Issuer URL you recorded earlier.
- Pass the JSON string into the environment variable SSO_CONFIG of your GrowthBook container
JumpCloud
See complete JumpCloud instructions
See complete JumpCloud instructions
- Create a new SSO Application. Browse to the User Authentication → SSO Applications from the left nav. Choose “Add new Application” from the top left.
- Choose a custom application by clicking ‘select’ under
custom application, then click next then next again to confirm.

- You will then be asked what features you want to enable. Select
Manage Single Sign-On (SSO). Then, in the radio buttons, select “Configure SSO with OIDC”.
- Add the name “GrowthBook” (or whatever you would like to name it), an optional description and click
next. When you’ve confirmed the details, clickConfigure Application.

- This will open a window letting you add additional configuration options for the GrowthBook application. Here are the settings you should set:
- Grant types: Select “Refresh Token” and Authentication Code
- Redirect URIs:
https://app.growthbook.io/oauth/callback
- Client Authentication Type: Client Secret Basic
- Login URL:
https://app.growthbook.io
- Attribute Mapping: Select both email and profile. The defaults for the fields that appear are all that is required.
Once you have made the above settings, click ‘Activate’ from the bottom bar.
- You’ll then be presented with a modal giving you the client id and client secret. Here you need to record the Client ID and Client Secret

- For self-hosted instances, construct the JSON configuration for GrowthBook. Replace CLIENT_ID, CLIENT_SECRET, and EMAIL_DOMAIN, as into the JSON object above.
- Pass the JSON string into the environment variable SSO_CONFIG of your GrowthBook container

