Users on a Growth plan or above can enable Single Sign-On for authentication. SCIM provisioning is available on Enterprise plans. See our pricing page for more details.
Overview
Single sign-on (SSO) allows users to log into multiple platforms, services, or systems using a single ID and password combination. Mixpanel supports SSO and works with any SAML 2.0-compliant SSO provider.How SSO, IdP Managed Access, and SCIM Fit Together
SSO, domain claiming, IdP Managed Access, and SCIM are all set at the organization level, in Organization Settings > Access Security, and apply to every project in the organization. Access to individual projects is still granted per project or through Teams. With Shared SSO, these settings are managed in the Admin Organization and shared by its linked organizations.
- SSO (SAML 2.0) controls how users sign in. Your identity provider (IdP) authenticates them.
- IdP Managed Access (with just-in-time provisioning) controls who gets into the organization. Users on your claimed domains are sent to your IdP, and anyone who signs in successfully is added as an organization Member.
- SCIM keeps users in step with your IdP (it creates, updates, and deactivates users) and maps IdP groups to Mixpanel Teams.
- Teams hold project access and project roles, and are managed in Mixpanel.
Setup Steps
- Claim and verify your domain.
- Copy your postback URL.
- Configure the Mixpanel app in your IdP (see the provider pages).
- Enter your IdP’s certificate, sign-in URL, and issuer URL in Mixpanel.
- Test SSO by logging in with a non-admin account.
- Optionally require SSO.
- Optionally turn on IdP Managed Access (recommended for most organizations; not available with Shared SSO).
- Optionally set up SCIM (Enterprise plans).
Access SSO Settings
You will need to be in the Organization Owner or Admin role to access the SSO settings. To access SSO settings in Mixpanel, navigate to your Organization Settings (gear icon on the bottom-left side of the screen -> ‘Settings’ menu), and then click on the Access Security tab.Claim a Domain
Claiming a domain will add security to an SSO implementation by allowing only members with a claimed domain in their email address to access Mixpanel. SSO only works on domains that are claimed. To claim a domain, add a TXT record to your domain’s DNS records with a verification key provided by Mixpanel. The verification key is available after you submit to claim a domain in your Organization Settings. Domains are matched exactly against the part of a user’s email address after the @. Claimingexample.com doesn’t cover sub.example.com. If users have email addresses on a subdomain, claim and verify that subdomain separately, adding its TXT record on the subdomain itself. You don’t need to claim subdomains nobody uses for email.
A single domain can be claimed by only one Mixpanel organization. If you have multiple Mixpanel organizations with separate billing accounts but need to share SSO settings and email domains for login, please see the documentation for Shared SSO to see how you can share those settings with an “Admin” Organization.
Generate Verification Key by Claiming Domain
To claim a domain, click Access Security in your Organization Settings.



Add Verification Token to your DNS
For Mixpanel to verify that you own the domain claimed, Mixpanel must detect the verification token in a TXT record in your domain’s DNS. The verification token is available in the Domain Claiming menu after you claim a domain. Use the verification token in the TXT record that you add to your domain’s DNS record. Addmixpanel-domain-verify=<your-token> as the TXT record.
Note that you will need to leave the verification token in your DNS records permanently, or the domain will unverify after a week. Only remove the verification token TXT record from domains with which you no longer wish to use SSO.
Check Verification Status
Verification can take up to 24 hours after you add the TXT record, depending on how quickly your DNS change propagates. Mixpanel checks for the record about once an hour and keeps checking until it finds it. To check right away, click the refresh icon (Verify Now) next to the domain in the Domain Claiming menu. The claimed domain is listed in the Domain Claiming menu. It will appear as pending until it is successfully verified.
Postback URL
You likely will need to provide your IdP with a postback URL. The postback URL is accessible from the Access Security menu. To obtain your postback URL, navigate to Access Security in your Organization Settings and toggle on the Single Sign-On button.
Set Up Your IdP
You must configure your Identity Provider (IdP) to connect to Mixpanel to use SSO if you are not using custom-built SSO. This requires that you directly configure your SSO settings. See the supported IdPs below:
Microsoft also documents Mixpanel provisioning for Entra ID.
OneLogin
The “Mixpanel” application in the OneLogin application store supports SAML SSO and provisioning. Configure SAML in the app with your Postback URL, then enter the certificate and URLs in Mixpanel. For provisioning, paste a SCIM token from Mixpanel into the provisioning token field in the OneLogin app. Learn how to generate a token.SAML Certificate
Upload your identity provider’s (IdP) X.509 signing certificate as a .cert or .pem file.- .xml files (such as IdP metadata files) are not valid. Download the certificate file itself from your IdP.
- Mixpanel doesn’t issue this certificate or set its expiration. Your IdP does, and the expiry window depends on your IdP and how your SAML app is configured. You can find the expiration date in your IdP’s SAML app settings.
- When your IdP rotates to a new certificate, upload the new one in Mixpanel. SSO logins fail until you do. Mixpanel doesn’t send a notice before your certificate expires, so track the date in your IdP or set a reminder before it expires.
Enter Your IdP Details in Mixpanel
On the Single Sign-On tab of Access Security in your Organization Settings:- Upload your IdP’s certificate in SAML Certificate.
- Enter your IdP’s sign-in URL in Identity Provider Sign-in URL.
- Enter your IdP’s issuer URL (entity ID) in Issuer URL.
- Click Update.
Require Users to Log In Using SSO
Optionally toggle on Require Single Sign-On to require your users to log in using SSO and to prevent your users from logging in using a username and password.- Please note that Organization Owners and Admins will still be able to log in using username and password in the case that SSO is not set up correctly.
- Note that external users (with an email of an unclaimed domain) who were invited to projects will not be able to log in if Require SSO is toggled on.
Require Single Sign-On for administrators
Optionally toggle on Require Single Sign-On for administrators; by default, even if the toggle to require SSO is enabled, organization admins and owners can still log in via email+password or magic link. In case you prefer to restrict everyone to use SSO, enable this toggle, and the exception to admins/owners will not apply. Do note that if your SSO is misconfigured, no one with administrator permissions can sign in to fix it, so it’s important to verify your authentication is working before enabling.IdP Managed Access
This feature determines whether you are using your IdP to manage which users should be allowed in the organization or whether you are using the IdP purely as an authentication method and want to leave user management within Mixpanel. IdP Managed Access isn’t available with Shared SSO. If you enable this feature:- All users of your verified claimed domain(s) who log into Mixpanel will be prompted to use SSO, whether they are in your organization or not.
- If they successfully log in through your SSO setup, they will be automatically added to the organization with no permissions except those granted to all users (JIT provisioning).
- It will also redirect anyone signing up for a Mixpanel account with your claimed domain or anyone requesting access to a project in your organization to log in via SSO first. This helps ensure all users in your organization who try to use Mixpanel get routed to your IdP, where you can then assign them access to the Mixpanel app. This also prevents needing to manually invite users to Mixpanel from within Mixpanel’s Organization Settings.

Just in Time Provisioning
Just-in-Time (JIT) provisioning using SAML will let users sign in automatically upon the initial login event. This removes the need for the organization admin to invite individual users to an Organization. JIT provisioning is part of the IDP Managed Access feature and is on whenever that toggle is on. Users added using the IdP will have first names and last names populated by thefirstName and lastName profile attributes provided via SAML at login time. These users will also have no roles to start off except those given to all users in your organization.
To give these provisioned users default access to projects, invite All Users in the Organization to the project.

SCIM
Only accounts with an Enterprise plan have access to SCIM at the moment. SCIM lets your IdP keep users and Teams in Mixpanel in sync. IdPs that currently have an auto-provisioning integration with Mixpanel are Okta, OneLogin, and Microsoft Entra ID (Azure). When you assign users to Mixpanel in your IdP, they will be provisioned in Mixpanel, and optionally, you can deprovision users within Mixpanel who lose access in your IdP. Users provisioned through SCIM are added to your organization as Members. Organization Roles (such as Owner or Admin) are set for each user in Mixpanel and can’t be set from your IdP. The SCIM menu in the Access Security tab of the Organization Settings lets you generate a token used to hit the SCIM endpoints. Remember to save this token, as you will see it only once.The SCIM endpoint affects only users whose email has a domain in the list of your verified claimed domains.

Map IdP Groups to Teams
When your IdP pushes a group, Mixpanel looks for a Team with exactly the same name.- If one exists, the group is linked to it, and the Team keeps its existing project access.
- If none exists, SCIM creates a new Team with that name and no project access. Assign its projects and project roles in Mixpanel.
With Shared SSO, IdP groups map to linked organizations instead.
SCIM API
Mixpanel uses a SCIM spec subset. The base endpoint ishttps://mixpanel.com/api/app/scim/v2, which you can hit using the SCIM token as an Authentication Bearer token. For instance, a GET call on https://mixpanel.com/api/app/scim/v2/Users using the SCIM token will get you a list of all users in your organization.
While you can hit the SCIM endpoints directly, the most common use case is auto-provisioning through an IdP that has an integration with Mixpanel provisioning.
Troubleshooting
SSO or provisioning fails for a user who already has a Mixpanel account outside your organization
SSO or provisioning fails for a user who already has a Mixpanel account outside your organization
Invite them to your organization.
Users on a subdomain aren't sent to SSO
Users on a subdomain aren't sent to SSO
External users can't log in
External users can't log in
Users with an email on an unclaimed domain can’t log in once Require SSO is on.
SSO logins fail after your IdP rotates its certificate
SSO logins fail after your IdP rotates its certificate
Upload the new certificate in SAML Certificate.
Remove SSO Configuration
If you need to remove all of your SSO configuration, you can do so with the “Remove SSO Configuration” button. This option is available if you had previously configured SSO and then disabled SSO. This will clear the settings and SAML certificate, as well as entries that facilitate the SSO process.