- An enterprise license for Sauce Labs
- Organization admin access (see User Roles for more information)
- To export the SAML metadata file for your identity provider
- To be able to use IdP-initiated SAML for this feature
Before you can set up SSO, you'll need to export the SAML metadata file for your identity provider and upload it to Sauce Labs when you're configuring SSO.
The SAML metadata file is an XML file that is generated by your IdP and contains information required to establish the link between it and Sauce Labs SSO. The admin for your IdP should be able to provide this file for you. The EntityID attribute must be included in your XML file, set to the Issuer URL (for example, https://www.yourcompany.com/sso-prod), for the integration to work correctly.
The following attributes must be included in your SAML assertion, with the expected values, for the integration to work correctly.
|Issuer||URL identifying your organization||https://www.yourcompany.com/sso-prod|
|NameID||User's email email@example.com|
By default, many IdPs don't set the NameID attribute to be the email address of the user. If the value for this attribute is something other than an email address, you can still integrate your IdP with Sauce SSO.
We recommend setting it to the email address, as this makes it easier to manage through the IdP. When the SSO user name is created, only the section preceding the @ is used. For example, from the email firstname.lastname@example.org, only john.smith would be used.
If the saml:NameID field contains only a user name and no @ symbol, then the SSO username will be based on your Domain Name. If your domain was sauce and the field value was john.smith, the SSO user name would be sso-sauce-john.smith.
This is a required attribute within the SAML assertion that indicates the specific users the assertion is intended for. It must be equal to the value of entityID from SauceLabs metadata based on your data center. For details, see the Single Sign-On Configuration section in Data Center Endpoints.
The Signing/Encryption Certificate and Entity AssertionConsumeURLs required for configuring Sauce Labs SSO vary based on your data center. For details, see Data Center Endpoints. Here are some things to be aware of:
- The Assertion/Issuer Name is Sauce Labs
- Sauce Labs does not provide a staging environment for pre-integration testing of SSO
- Single logout is not supported, but all sessions time out after 30 minutes of inactivity