Cuir in eagar

Comhroinn trí


Microsoft Entra SSO integration with Sauce Labs

In this article, you learn how to integrate Sauce Labs with Microsoft Entra ID. App integration for single sign-on and automatic account provisioning at Sauce Labs. When you integrate Sauce Labs with Microsoft Entra ID, you can:

  • Control in Microsoft Entra ID who has access to Sauce Labs.
  • Enable your users to be automatically signed-in to Sauce Labs with their Microsoft Entra accounts.
  • Manage your accounts in one central location.

You configure and test Microsoft Entra single sign-on for Sauce Labs in a test environment. Sauce Labs supports both SP and IDP initiated single sign-on and Just In Time user provisioning.

Note

Identifier of this application is a fixed string value so only one instance can be configured in one tenant. If your company has more than one organization at Sauce Labs to be integrated with SAML SSO within a single Azure tenant, please refer to the following documentation.

Prerequisites

To integrate Microsoft Entra ID with Sauce Labs, you need:

Add application and assign a test user

Before you begin the process of configuring single sign-on, you need to add the Sauce Labs application from the Microsoft Entra gallery. You need a test user account to assign to the application and test the single sign-on configuration.

Add Sauce Labs from the Microsoft Entra application gallery to configure single sign-on with Sauce Labs. For more information on how to add application from the gallery, see the Quickstart: Add application from the gallery.

Create and assign Microsoft Entra test user

Follow the guidelines in the create and assign a user account article to create a test user account called B.Simon.

Alternatively, you can also use the Enterprise App Configuration Wizard. In this wizard, you can add an application to your tenant, add users/groups to the app, and assign roles. The wizard also provides a link to the single sign-on configuration pane. Learn more about Microsoft 365 wizards..

Configure Microsoft Entra SSO

Complete the following steps to enable Microsoft Entra single sign-on.

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.

  2. Browse to Identity > Applications > Enterprise applications > Sauce Labs > Single sign-on.

  3. On the Select a single sign-on method page, select SAML.

  4. On the Set up single sign-on with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.

    Screenshot shows how to edit Basic SAML Configuration.

  5. On the Basic SAML Configuration section, the user doesn't have to perform any step as the app is already preintegrated with Azure.

  6. If you wish to configure the application in SP initiated mode, then perform the following step:

    In the Sign on URL textbox, type the URL: https://accounts.saucelabs.com/

  7. On the Set-up single sign-on with SAML page, in the SAML Signing Certificate section, find Federation Metadata XML and select Download to download the certificate and save it on your computer.

    Screenshot shows the Certificate download link.

  8. On the Set up Sauce Labs section, copy the appropriate URL(s) based on your requirement.

    Screenshot shows to copy configuration appropriate URL.

Configure Sauce Labs SSO

To configure single sign-on on Sauce Labs side, please refer this documentation to set up SAML SSO connection properly on both sides. For any help or queries, please contact Sauce Labs support team.

Create Sauce Labs test user

In this section, a user called B.Simon is created in Sauce Labs. Sauce Labs supports just-in-time user provisioning, which is enabled by default. There's no action item for you in this section. If a user doesn't already exist in Sauce Labs, a new one is commonly created after authentication.

Test SSO

In this section, you test your Microsoft Entra single sign-on configuration with following options.

SP initiated:

  • Click on Test this application, this will redirect to Sauce Labs Sign-on URL where you can initiate the login flow.

  • Go to Sauce Labs Sign-on URL directly and initiate the login flow from there.

IDP initiated:

  • Click on Test this application, and you should be automatically signed in to the Sauce Labs for which you set up the SSO.

You can also use Microsoft My Apps to test the application in any mode. When you click the Sauce Labs tile in the My Apps, if configured in SP mode you would be redirected to the application sign-on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to the Sauce Labs for which you set up the SSO. For more information, see Microsoft Entra My Apps.

Additional resources

Next steps

Once you configure Sauce Labs you can enforce session control, which protects exfiltration and infiltration of your organization’s sensitive data in real time. Session control extends from Conditional Access. Learn how to enforce session control with Microsoft Cloud App Security.