On this page

Single Sign-On With Entra ID/Azure AD/Office 365

Configure Single Sign-On for Statsig with Azure AD (Microsoft Entra ID) using OIDC, including app registration, claims, and group-based role assignments.

Microsoft Entra ID, formerly known as Azure AD, is a supported IdP for SSO into Statsig.

Requirements

  • You must be the Admin of the Statsig Project you intend to add SSO with Azure AD to.
  • You must be the Administrator of the Azure AD tenant you want to link.

Supported Features

You can enable Service Provider (SP)-Initiated Authentication for Single Sign-On (SSO) using OIDC on Statsig to connect your Azure AD account to your Statsig Projects.

Configure SSO with Azure AD

Adding the Statsig OIDC Application in Azure AD

  1. Navigate to App Registrations in the Azure portal.
  2. Click on the "New Registration" button to register the Statsig App.
  3. Provide a name (for example, Statsig Console) and finish creation. For the Redirect URI, use https://console.statsig.com/sso/oidc.
  4. Select Certificates and secrets for this app from the left nav and create a new client secret. Save the value; you can't retrieve this value after creation.

Azure AD app registration interface

Enter three items in the Statsig SSO configuration:

  1. Find the Azure AD OIDC URL for this app under Overview -> Endpoints -> OpenID Connect metadata document. Truncate the string to end at "/v2.0".
  2. Get the client ID for this app from Overview -> Application (client) ID.
  3. Get the client secret value you saved after creating a new client secret.
After completing these steps, the Azure AD configuration is complete. Navigate to SSO configuration on your Statsig Project to finish setup.

Was this helpful?