- Docs
- Guides
- Build with Enigma
- Enigma Console
Single sign-on (SSO)
Let your team sign in to Enigma Console through your SAML 2.0 identity provider.
Single sign-on (SSO) lets your team sign in to Enigma Console through your identity provider (IdP). Enigma supports any SAML 2.0 IdP, such as Okta, Microsoft Entra ID (Azure AD), Google Workspace, and OneLogin.
Before you start
Section titled “Before you start”- You need the Admin or Owner role in your Enigma organization.
- You need admin access to your IdP, with permission to create a SAML app.
How SSO works
Section titled “How SSO works”Enigma uses an SP-initiated SAML 2.0 flow. SP-initiated means that the sign-in starts at Enigma, the service provider (SP), and not at your IdP.
- The user goes to
https://console.enigma.com/loginand clicks Log in with SSO. - The user enters their email address.
- Enigma sends the user to your IdP.
- The user signs in at your IdP.
- Your IdP sends a SAML assertion to Enigma.
- Enigma validates the assertion and signs the user in.
Set up SSO
Section titled “Set up SSO”-
Create a SAML app in your IdP. Create a SAML 2.0 app with placeholder values. You replace them in step 3.
-
Configure Enigma. In Enigma Console, go to Settings > Access > SSO.
Give the metadata of your IdP in one of these two ways. When you enter a URL, the file upload is disabled, and the reverse is also true.
Method What to give Metadata URL The metadata URL of your IdP. Enigma gets the metadata and keeps it in sync. Metadata file The XML metadata file of your IdP, in UTF-8. Enter the attribute names that your IdP sends in the SAML assertion. All four attributes are required. The names are case-sensitive: if your IdP sends
Emailand you enteremail, sign-in fails.Enigma attribute Value Usual IdP attribute names emailEmail address user.email,email,emailAddressgiven_nameFirst name user.firstName,givenName,firstNamefamily_nameLast name user.lastName,surname,familyNamenameFull display name user.displayName,name,displayNameClick Save configuration. Then copy these two values from Enigma sign-on settings:
- Assertion consumer URL: the endpoint that receives SAML responses.
- Service provider entity ID: the identifier of Enigma as a service provider.
-
Update the SAML app in your IdP.
- Set the Assertion Consumer Service (ACS) URL to the Assertion consumer URL from Enigma.
- Set the SP entity ID, or Audience URI, to the Service provider entity ID from Enigma.
- Send the four attributes
email,given_name,family_name, andname. - Assign users or groups to the app.
-
Test the sign-in. In a private browser window, go to
https://console.enigma.com/login. Click Log in with SSO and enter your email address. Your IdP opens, and you can sign in.A change can take 2 to 3 minutes to take effect. If the test fails at once, wait and try again.
Troubleshooting
Section titled “Troubleshooting”Invalid SAML response
Section titled “Invalid SAML response”The attribute mapping is usually the cause.
- Make sure that each attribute name matches exactly, with the same case.
- Make sure that your IdP sends all four required attributes.
- Make sure that your metadata URL is reachable from the internet.
Users do not see the SSO option
Section titled “Users do not see the SSO option”- Users must click Log in with SSO at
https://console.enigma.com/loginand enter their email address. - A change can take 2 to 3 minutes to take effect.
Duplicate provider
Section titled “Duplicate provider”One IdP can link to one Enigma organization only. This error means that your IdP is already linked to another Enigma organization. To move the link, contact support@enigma.com.