|
| 1 | +--- |
| 2 | +title: Azure Active Directory SSO integration with Testim |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and Testim. |
| 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/02/2023 |
| 13 | +ms.author: jeedes |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +# Azure Active Directory SSO integration with Testim |
| 18 | + |
| 19 | +In this article, you'll learn how to integrate Testim with Azure Active Directory (Azure AD). Testim is the fastest way to create your most resilient e2e tests. The AI- based platform fits your workflow and accelerates software releases. When you integrate Testim with Azure AD, you can: |
| 20 | + |
| 21 | +* Control in Azure AD who has access to Testim. |
| 22 | +* Enable your users to be automatically signed-in to Testim with their Azure AD accounts. |
| 23 | +* Manage your accounts in one central location - the Azure portal. |
| 24 | + |
| 25 | +You'll configure and test Azure AD single sign-on for Testim in a test environment. Testim supports both **SP** and **IDP** initiated single sign-on. |
| 26 | + |
| 27 | +## Prerequisites |
| 28 | + |
| 29 | +To integrate Azure Active Directory with Testim, you need: |
| 30 | + |
| 31 | +* 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). |
| 32 | +* One of the following roles: Global Administrator, Cloud Application Administrator, Application Administrator, or owner of the service principal. |
| 33 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 34 | +* Testim single sign-on (SSO) enabled subscription. |
| 35 | + |
| 36 | +## Add application and assign a test user |
| 37 | + |
| 38 | +Before you begin the process of configuring single sign-on, you need to add the Testim application from the Azure AD gallery. You need a test user account to assign to the application and test the single sign-on configuration. |
| 39 | + |
| 40 | +### Add Testim from the Azure AD gallery |
| 41 | + |
| 42 | +Add Testim from the Azure AD application gallery to configure single sign-on with Testim. 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). |
| 43 | + |
| 44 | +### Create and assign Azure AD test user |
| 45 | + |
| 46 | +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. |
| 47 | + |
| 48 | +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). |
| 49 | + |
| 50 | +## Configure Azure AD SSO |
| 51 | + |
| 52 | +Complete the following steps to enable Azure AD single sign-on in the Azure portal. |
| 53 | + |
| 54 | +1. In the Azure portal, on the **Testim** application integration page, find the **Manage** section and select **single sign-on**. |
| 55 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 56 | +1. On the **Set up single sign-on with SAML** page, select the pencil icon for **Basic SAML Configuration** to edit the settings. |
| 57 | + |
| 58 | +  |
| 59 | + |
| 60 | +1. On the **Basic SAML Configuration** section, perform the following steps: |
| 61 | + |
| 62 | + a. In the **Identifier** textbox, type a URL using the following pattern: |
| 63 | + `https://services.testim.io/auth/sso/<ID>/metadata` |
| 64 | + |
| 65 | + b. In the **Reply URL** textbox, type a URL using the following pattern: |
| 66 | + `https://services.testim.io/auth/sso/<ID>/callback` |
| 67 | + |
| 68 | +1. If you wish to configure the application in **SP** initiated mode, then perform the following step: |
| 69 | + |
| 70 | + In the **Sign on URL** textbox, type the URL: |
| 71 | + `https://app.testim.io/#/azure-signin` |
| 72 | + |
| 73 | + > [!NOTE] |
| 74 | + > These values are not real. Update these values with the actual Identifier and Reply URL. Contact [Testim Client support team](mailto:[email protected]) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal. |
| 75 | +
|
| 76 | +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. |
| 77 | + |
| 78 | +  |
| 79 | + |
| 80 | +1. On the **Set up Testim** section, copy the appropriate URL(s) based on your requirement. |
| 81 | + |
| 82 | +  |
| 83 | + |
| 84 | +## Configure Testim SSO |
| 85 | + |
| 86 | +To configure single sign-on on **Testim ** side, you need to send the downloaded **Federation Metadata XML ** and appropriate copied URLs from Azure portal to [Testim support team ](mailto:[email protected]). They set this setting to have the SAML SSO connection set properly on both sides. |
| 87 | + |
| 88 | +### Create Testim test user |
| 89 | + |
| 90 | +In this section, you create a user called Britta Simon at Testim. Work with [Testim support team ](mailto:[email protected]) to add the users in the Testim platform. Users must be created and activated before you use single sign-on. |
| 91 | + |
| 92 | +## Test SSO |
| 93 | + |
| 94 | +In this section, you test your Azure AD single sign-on configuration with following options. |
| 95 | + |
| 96 | +#### SP initiated: |
| 97 | + |
| 98 | +* Click on **Test this application** in Azure portal. This will redirect to Testim Sign-on URL where you can initiate the login flow. |
| 99 | + |
| 100 | +* Go to Testim Sign-on URL directly and initiate the login flow from there. |
| 101 | + |
| 102 | +#### IDP initiated: |
| 103 | + |
| 104 | +* Click on **Test this application** in Azure portal and you should be automatically signed in to the Testim for which you set up the SSO. |
| 105 | + |
| 106 | +You can also use Microsoft My Apps to test the application in any mode. When you click the Testim 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 Testim 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). |
| 107 | + |
| 108 | +## Additional resources |
| 109 | + |
| 110 | +* [What is single sign-on with Azure Active Directory?](../manage-apps/what-is-single-sign-on.md) |
| 111 | +* [Plan a single sign-on deployment](../manage-apps/plan-sso-deployment.md). |
| 112 | + |
| 113 | +## Next steps |
| 114 | + |
| 115 | +Once you configure Testim 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). |
0 commit comments