|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure AD SSO integration with OpenLearning' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and OpenLearning. |
| 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: tutorial |
| 12 | +ms.date: 02/17/2022 |
| 13 | +ms.author: jeedes |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +# Tutorial: Azure AD SSO integration with OpenLearning |
| 18 | + |
| 19 | +In this tutorial, you'll learn how to integrate OpenLearning with Azure Active Directory (Azure AD). When you integrate OpenLearning with Azure AD, you can: |
| 20 | + |
| 21 | +* Control in Azure AD who has access to OpenLearning. |
| 22 | +* Enable your users to be automatically signed-in to OpenLearning with their Azure AD accounts. |
| 23 | +* Manage your accounts in one central location - the Azure portal. |
| 24 | + |
| 25 | +## Prerequisites |
| 26 | + |
| 27 | +To get started, you need the following items: |
| 28 | + |
| 29 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 30 | +* OpenLearning single sign-on (SSO) enabled subscription. |
| 31 | + |
| 32 | +## Scenario description |
| 33 | + |
| 34 | +In this tutorial, you configure and test Azure AD SSO in a test environment. |
| 35 | + |
| 36 | +* OpenLearning supports **SP** initiated SSO. |
| 37 | + |
| 38 | +## Add OpenLearning from the gallery |
| 39 | + |
| 40 | +To configure the integration of OpenLearning into Azure AD, you need to add OpenLearning from the gallery to your list of managed SaaS apps. |
| 41 | + |
| 42 | +1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account. |
| 43 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 44 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 45 | +1. To add new application, select **New application**. |
| 46 | +1. In the **Add from the gallery** section, type **OpenLearning** in the search box. |
| 47 | +1. Select **OpenLearning** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 48 | + |
| 49 | +## Configure and test Azure AD SSO for OpenLearning |
| 50 | + |
| 51 | +Configure and test Azure AD SSO with OpenLearning using a test user called **B.Simon**. For SSO to work, you need to establish a link relationship between an Azure AD user and the related user in OpenLearning. |
| 52 | + |
| 53 | +To configure and test Azure AD SSO with OpenLearning, perform the following steps: |
| 54 | + |
| 55 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature. |
| 56 | + 1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon. |
| 57 | + 1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on. |
| 58 | +1. **[Configure OpenLearning SSO](#configure-openlearning-sso)** - to configure the single sign-on settings on application side. |
| 59 | + 1. **[Create OpenLearning test user](#create-openlearning-test-user)** - to have a counterpart of B.Simon in OpenLearning that is linked to the Azure AD representation of user. |
| 60 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 61 | + |
| 62 | +## Configure Azure AD SSO |
| 63 | + |
| 64 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 65 | + |
| 66 | +1. In the Azure portal, on the **OpenLearning** application integration page, find the **Manage** section and select **single sign-on**. |
| 67 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 68 | +1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings. |
| 69 | + |
| 70 | +  |
| 71 | + |
| 72 | +1. On the **Basic SAML Configuration** section, if you have **Service Provider metadata file**, perform the following steps: |
| 73 | + |
| 74 | + a. Click **Upload metadata file**. |
| 75 | + |
| 76 | +  |
| 77 | + |
| 78 | + b. Click on **folder logo** to select the metadata file and click **Upload**. |
| 79 | + |
| 80 | +  |
| 81 | + |
| 82 | + c. After the metadata file is successfully uploaded, the **Identifier** value gets auto populated in Basic SAML Configuration section. |
| 83 | + |
| 84 | + d. In the **Sign-on URL** text box, type a URL using the following pattern: |
| 85 | + `https://www.openlearning.com/saml-redirect/<institution_id>/<idp_name>/` |
| 86 | + |
| 87 | + > [!Note] |
| 88 | + > If the **Identifier** value does not get auto populated, then please fill in the value manually according to your requirement. The Sign-on URL value is not real. Update this value with the actual Sign-on URL. Contact [OpenLearning Client support team](mailto:[email protected]) to get this value. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal. |
| 89 | + |
| 90 | +1. On the **Set up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Certificate (Base64)** and select **Download** to download the certificate and save it on your computer. |
| 91 | + |
| 92 | +  |
| 93 | + |
| 94 | +1. On the **Set up OpenLearning** section, copy the appropriate URL(s) based on your requirement. |
| 95 | + |
| 96 | +  |
| 97 | + |
| 98 | +1. OpenLearning application expects to enable token encryption in order to make SSO work. To activate token encryption, go to the **Azure Active Directory** > **Enterprise applications** and select **Token encryption**. For more information, please refer this [link](../manage-apps/howto-saml-token-encryption.md). |
| 99 | + |
| 100 | +  |
| 101 | + |
| 102 | +### Create an Azure AD test user |
| 103 | + |
| 104 | +In this section, you'll create a test user in the Azure portal called B.Simon. |
| 105 | + |
| 106 | +1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**. |
| 107 | +1. Select **New user** at the top of the screen. |
| 108 | +1. In the **User** properties, follow these steps: |
| 109 | + 1. In the **Name** field, enter `B.Simon`. |
| 110 | + 1. In the **User name ** field, enter the [email protected]. For example, `[email protected]`. |
| 111 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 112 | + 1. Click **Create**. |
| 113 | + |
| 114 | +### Assign the Azure AD test user |
| 115 | + |
| 116 | +In this section, you'll enable B.Simon to use Azure single sign-on by granting access to OpenLearning. |
| 117 | + |
| 118 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 119 | +1. In the applications list, select **OpenLearning**. |
| 120 | +1. In the app's overview page, find the **Manage** section and select **Users and groups**. |
| 121 | +1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog. |
| 122 | +1. In the **Users and groups** dialog, select **B.Simon** from the Users list, then click the **Select** button at the bottom of the screen. |
| 123 | +1. If you are expecting a role to be assigned to the users, you can select it from the **Select a role** dropdown. If no role has been set up for this app, you see "Default Access" role selected. |
| 124 | +1. In the **Add Assignment** dialog, click the **Assign** button. |
| 125 | + |
| 126 | +## Configure OpenLearning SSO |
| 127 | + |
| 128 | +1. Log in to your OpenLearning company site as an administrator. |
| 129 | + |
| 130 | +1. Go to **SETTINGS** > **Integrations** and click **ADD** under SAML Identity Provider(IDP) Configuration. |
| 131 | + |
| 132 | +1. In the **SAML Identity Provider** page, perform the following steps: |
| 133 | + |
| 134 | +  |
| 135 | + |
| 136 | + 1. In the **Name (required)** textbox, type a short configuration name. |
| 137 | + |
| 138 | + 1. Copy **Reply(ACS) Url** value, paste this value into the **Reply URL** text box in the **Basic SAML Configuration** section in the Azure portal. |
| 139 | + |
| 140 | + 1. In the **Entity ID/Issuer URL (required)** textbox, paste the **Azure AD Identifier** value which you have copied from the Azure portal. |
| 141 | + |
| 142 | + 1. In the **Sign-In URL (required)** textbox, paste the **Login URL** value which you have copied from the Azure portal. |
| 143 | + |
| 144 | + 1. Open the downloaded **Certificate (Base64)** from the Azure portal into Notepad and paste the content into the **Certificate (required)** textbox. |
| 145 | + |
| 146 | + 1. Download the **Metadata XML** into Notepad and upload the file into **Basic SAML Configuration** section in the Azure portal. |
| 147 | + |
| 148 | + 1. Click **Save**. |
| 149 | + |
| 150 | +### Create OpenLearning test user |
| 151 | + |
| 152 | +1. In a different web browser window, log in to your OpenLearning website as an administrator. |
| 153 | + |
| 154 | +1. Navigate to **People** and select **Invite People**. |
| 155 | + |
| 156 | +1. Enter the valid **Email Addresses** in the textbox and click **INVITE ALL USERS**. |
| 157 | + |
| 158 | +  |
| 159 | + |
| 160 | +## Test SSO |
| 161 | + |
| 162 | +In this section, you test your Azure AD single sign-on configuration with following options. |
| 163 | + |
| 164 | +* Click on **Test this application** in Azure portal. This will redirect to OpenLearning Sign-on URL where you can initiate the login flow. |
| 165 | + |
| 166 | +* Go to OpenLearning Sign-on URL directly and initiate the login flow from there. |
| 167 | + |
| 168 | +* You can use Microsoft My Apps. When you click the OpenLearning tile in the My Apps, this will redirect to OpenLearning Sign-on URL. For more information about the My Apps, see [Introduction to the My Apps](../user-help/my-apps-portal-end-user-access.md). |
| 169 | + |
| 170 | +## Next steps |
| 171 | + |
| 172 | +Once you configure OpenLearning 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