Skip to content

Commit 334f3e9

Browse files
Merge pull request #232112 from bhavana-129/sauce-labs
Product Backlog Item 2488760: SaaS App Tutorial: Sauce Labs
2 parents 57422d6 + 63e3a31 commit 334f3e9

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
title: Azure Active Directory SSO integration with Sauce Labs
3+
description: Learn how to configure single sign-on between Azure Active Directory and Sauce Labs.
4+
services: active-directory
5+
author: jeevansd
6+
manager: CelesteDG
7+
ms.reviewer: CelesteDG
8+
ms.service: active-directory
9+
ms.subservice: saas-app-tutorial
10+
ms.workload: identity
11+
ms.topic: how-to
12+
ms.date: 03/26/2023
13+
ms.author: jeedes
14+
15+
---
16+
17+
# Azure Active Directory SSO integration with Sauce Labs
18+
19+
In this article, you learn how to integrate Sauce Labs with Azure Active Directory (Azure AD). App integration for single sign-on and automatic account provisioning at Sauce Labs. When you integrate Sauce Labs with Azure AD, you can:
20+
21+
* Control in Azure AD who has access to Sauce Labs.
22+
* Enable your users to be automatically signed-in to Sauce Labs with their Azure AD accounts.
23+
* Manage your accounts in one central location - the Azure portal.
24+
25+
You configure and test Azure AD 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.
26+
27+
> [!NOTE]
28+
> Identifier of this application is a fixed string value so only one instance can be configured in one tenant.
29+
30+
## Prerequisites
31+
32+
To integrate Azure Active Directory with Sauce Labs, you need:
33+
34+
* An Azure AD user account. If you don't already have one, you can [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
35+
* One of the following roles: Global Administrator, Cloud Application Administrator, Application Administrator, or owner of the service principal.
36+
* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/).
37+
* Sauce Labs single sign-on (SSO) enabled subscription.
38+
39+
## Add application and assign a test user
40+
41+
Before you begin the process of configuring single sign-on, you need to add the Sauce Labs application from the Azure AD gallery. You need a test user account to assign to the application and test the single sign-on configuration.
42+
43+
### Add Sauce Labs from the Azure AD gallery
44+
45+
Add Sauce Labs from the Azure AD 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](../manage-apps/add-application-portal.md).
46+
47+
### Create and assign Azure AD test user
48+
49+
Follow the guidelines in the [create and assign a user account](../manage-apps/add-application-portal-assign-users.md) article to create a test user account in the Azure portal called B.Simon.
50+
51+
Alternatively, you can also use the [Enterprise App Configuration Wizard](https://portal.office.com/AdminPortal/home?Q=Docs#/azureadappintegration). 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 in the Azure portal. [Learn more about Microsoft 365 wizards.](/microsoft-365/admin/misc/azure-ad-setup-guides).
52+
53+
## Configure Azure AD SSO
54+
55+
Complete the following steps to enable Azure AD single sign-on in the Azure portal.
56+
57+
1. In the Azure portal, on the **Sauce Labs** application integration page, find the **Manage** section and select **single sign-on**.
58+
1. On the **Select a single sign-on method** page, select **SAML**.
59+
1. On the **Set up single sign-on with SAML** page, select the pencil icon for **Basic SAML Configuration** to edit the settings.
60+
61+
![Screenshot shows how to edit Basic SAML Configuration.](common/edit-urls.png "Basic Configuration")
62+
63+
1. On the **Basic SAML Configuration** section, the user doesn't have to perform any step as the app is already preintegrated with Azure.
64+
65+
1. If you wish to configure the application in **SP** initiated mode, then perform the following step:
66+
67+
In the **Sign on URL** textbox, type the URL:
68+
`https://accounts.saucelabs.com/`
69+
70+
1. 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.
71+
72+
![Screenshot shows the Certificate download link.](common/metadataxml.png "Certificate")
73+
74+
1. On the **Set up Sauce Labs** section, copy the appropriate URL(s) based on your requirement.
75+
76+
![Screenshot shows to copy configuration appropriate URL.](common/copy-configuration-urls.png "Metadata")
77+
78+
## Configure Sauce Labs SSO
79+
80+
To configure single sign-on on **Sauce Labs** side, you need to send the downloaded **Federation Metadata XML** and appropriate copied URLs from Azure portal to [Sauce Labs support team](mailto:[email protected]). They set this setting to have the SAML SSO connection set properly on both sides.
81+
82+
### Create Sauce Labs test user
83+
84+
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.
85+
86+
## Test SSO
87+
88+
In this section, you test your Azure AD single sign-on configuration with following options.
89+
90+
#### SP initiated:
91+
92+
* Click on **Test this application** in Azure portal. This will redirect to Sauce Labs Sign-on URL where you can initiate the login flow.
93+
94+
* Go to Sauce Labs Sign-on URL directly and initiate the login flow from there.
95+
96+
#### IDP initiated:
97+
98+
* Click on **Test this application** in Azure portal and you should be automatically signed in to the Sauce Labs for which you set up the SSO.
99+
100+
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 about the My Apps, see [Introduction to the My Apps](../user-help/my-apps-portal-end-user-access.md).
101+
102+
## Additional resources
103+
104+
* [What is single sign-on with Azure Active Directory?](../manage-apps/what-is-single-sign-on.md)
105+
* [Plan a single sign-on deployment](../manage-apps/plan-sso-deployment.md).
106+
107+
## Next steps
108+
109+
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](/cloud-app-security/proxy-deployment-aad).

articles/active-directory/saas-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2123,6 +2123,8 @@
21232123
href: sap-netweaver-tutorial.md
21242124
- name: SAP Qualtrics
21252125
href: qualtrics-tutorial.md
2126+
- name: Sauce Labs
2127+
href: sauce-labs-tutorial.md
21262128
- name: Sauce Labs - Mobile and Web Testing
21272129
href: saucelabs-mobileandwebtesting-tutorial.md
21282130
- name: Saviynt

0 commit comments

Comments
 (0)