Single sign-on (SSO)
SAML single sign-on (SSO) lets members of your Organization sign in with your corporate identity provider (IdP). Any user with an email address that matches your verified domain is redirected to your configured IdP to authenticate.
You need an Enterprise plan to configure SAML SSO.
How SAML SSO works
- A user enters an email address that matches a verified domain.
- Mistral redirects the user to your configured IdP.
- The IdP authenticates the user with your corporate credentials and policies.
- The user returns to Mistral signed in.
- On first sign-in, Mistral provisions the user account in your Organization.
Organization SSO uses SAML 2.0. OpenID Connect (OIDC) is not supported for Organization SSO.
Prerequisites
Before you configure SSO, make sure you have:
- an Enterprise plan;
- at least one verified domain;
- permission to create a SAML 2.0 application in your IdP;
- SAML metadata XML from your IdP.
You also need these attribute mappings:
| Attribute | Value |
|---|---|
| User's first name | firstName |
| User's last name | lastName |
| Name ID format | EmailAddress |
Configure SSO
Start SSO setup in Admin
- Open Admin Panel›Administration›Access ↗ in the Admin Panel.
- In Organization Access, find Single Sign-On (SAML SSO).
- Click Activate SSO.
- Keep the SSO configuration modal open while you configure your IdP.
Create the SAML app in your IdP
- In your IdP admin console, create a SAML 2.0 application for Mistral.
- Copy the ACS URL and Entity ID from the Mistral modal into your IdP configuration.
- Map the user attributes from the prerequisites section.
- Export or copy the SAML metadata XML from your IdP.
Enable SSO in Admin
- Paste the complete metadata XML into the text box in the Mistral SSO configuration modal.
- Click Enable SSO.
Users with email addresses matching your verified domain are redirected to your IdP for authentication.
What users experience
- The user goes to the Mistral login page.
- The user enters their work email address.
- The password field disappears, and the user sees Continue with [Organization name].
- The user authenticates with their corporate credentials on the IdP login page.
- The user returns to Mistral signed in.
Supported identity providers
Any compliant SAML IdP can work. The most commonly used providers are:
- Microsoft Entra ID (formerly Azure Active Directory)
- Google Workspace / Google Identity Platform
- Okta
Refer to your IdP's documentation for specific SAML application setup instructions.
Automatic seat assignment
You can automatically assign seats to users when they first sign in through SSO, if they have access to your Organization and seats are available.
Automatic seat assignment can apply to:
- Team seats;
- Mistral Code Enterprise seats.
Configure automatic seat assignment from Admin Panel›Administration›Access ↗.
Disable SSO
You can disable SSO at any time from Admin Panel›Administration›Access ↗ in the Admin Panel.
Disabling SSO means users can no longer sign in through your IdP. They need to set a password through the reset flow or be re-invited. Automatic user provisioning also stops. Consider enabling Email domain authentication before disabling SSO.
Troubleshooting
If SSO fails after configuration:
- Verify that the ACS URL and Entity ID match exactly between Mistral and your IdP.
- Confirm that attribute mappings are case-sensitive (
firstName,lastName). - Check that Name ID Format is set to
EmailAddress. - Make sure the metadata XML is complete and correctly pasted.
- Contact support if issues persist.