|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure AD SSO integration with Authomize' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and Authomize. |
| 4 | +services: active-directory |
| 5 | +author: jeevansd |
| 6 | +manager: CelesteDG |
| 7 | +ms.reviewer: celested |
| 8 | +ms.service: active-directory |
| 9 | +ms.subservice: saas-app-tutorial |
| 10 | +ms.workload: identity |
| 11 | +ms.topic: tutorial |
| 12 | +ms.date: 05/06/2022 |
| 13 | +ms.author: jeedes |
| 14 | +--- |
| 15 | + |
| 16 | +# Tutorial: Azure AD SSO integration with Authomize |
| 17 | + |
| 18 | +In this tutorial, you'll learn how to integrate Authomize with Azure Active Directory (Azure AD). When you integrate Authomize with Azure AD, you can: |
| 19 | + |
| 20 | +* Control in Azure AD who has access to Authomize. |
| 21 | +* Enable your users to be automatically signed-in to Authomize with their Azure AD accounts. |
| 22 | +* Manage your accounts in one central location - the Azure portal. |
| 23 | + |
| 24 | +## Prerequisites |
| 25 | + |
| 26 | +To get started, you need the following items: |
| 27 | + |
| 28 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 29 | +* Authomize single sign-on (SSO) enabled subscription. |
| 30 | +* Along with Cloud Application Administrator, Application Administrator can also add or manage applications in Azure AD. |
| 31 | +For more information, see [Azure built-in roles](../roles/permissions-reference.md). |
| 32 | + |
| 33 | +## Scenario description |
| 34 | + |
| 35 | +In this tutorial, you configure and test Azure AD SSO in a test environment. |
| 36 | + |
| 37 | +* Authomize supports **SP and IDP** initiated SSO. |
| 38 | +* Authomize supports **Just In Time** user provisioning. |
| 39 | + |
| 40 | +## Add Authomize from the gallery |
| 41 | + |
| 42 | +To configure the integration of Authomize into Azure AD, you need to add Authomize from the gallery to your list of managed SaaS apps. |
| 43 | + |
| 44 | +1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account. |
| 45 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 46 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 47 | +1. To add new application, select **New application**. |
| 48 | +1. In the **Add from the gallery** section, type **Authomize** in the search box. |
| 49 | +1. Select **Authomize** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 50 | + |
| 51 | +## Configure and test Azure AD SSO for Authomize |
| 52 | + |
| 53 | +Configure and test Azure AD SSO with Authomize 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 Authomize. |
| 54 | + |
| 55 | +To configure and test Azure AD SSO with Authomize, perform the following steps: |
| 56 | + |
| 57 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature. |
| 58 | + 1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon. |
| 59 | + 1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on. |
| 60 | +1. **[Configure Authomize SSO](#configure-authomize-sso)** - to configure the single sign-on settings on application side. |
| 61 | + 1. **[Create Authomize test user](#create-authomize-test-user)** - to have a counterpart of B.Simon in Authomize that is linked to the Azure AD representation of user. |
| 62 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 63 | + |
| 64 | +## Configure Azure AD SSO |
| 65 | + |
| 66 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 67 | + |
| 68 | +1. In the Azure portal, on the **Authomize** application integration page, find the **Manage** section and select **single sign-on**. |
| 69 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 70 | +1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings. |
| 71 | + |
| 72 | +  |
| 73 | + |
| 74 | +1. On the **Basic SAML Configuration** section, perform the following steps: |
| 75 | + |
| 76 | + a. In the **Identifier** textbox, type a URL using the following pattern: |
| 77 | + `https://<CustomerName>.authomize.com/api/sso/metadata.xml?domain=<DOMAIN>` |
| 78 | + |
| 79 | + b. In the **Reply URL** textbox, type a URL using the following pattern: |
| 80 | + `https://<CustomerName>.authomize.com/api/sso/assert?domain=<DOMAIN>` |
| 81 | + |
| 82 | +1. Click **Set additional URLs** and perform the following steps if you wish to configure the application in **SP** initiated mode: |
| 83 | + |
| 84 | + a. In the **Sign-on URL** text box, type a URL using the following pattern: |
| 85 | + `https://<CustomerName>.authomize.com` |
| 86 | + |
| 87 | + b. In the **Relay State** textbox, type a URL using the following pattern: |
| 88 | + `https://<CustomerName>.authomize.com` |
| 89 | + |
| 90 | + > [!NOTE] |
| 91 | + > These values are not real. Update these values with the actual Identifier, Reply URL, Sign-on URL and Relay State URL. Contact [Authomize 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. |
| 92 | +
|
| 93 | +1. Click **Save**. |
| 94 | + |
| 95 | +1. Authomize application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes. |
| 96 | + |
| 97 | +  |
| 98 | + |
| 99 | +1. In addition to above, Authomize application expects few more attributes to be passed back in SAML response, which are shown below. These attributes are also pre populated but you can review them as per your requirements. |
| 100 | + |
| 101 | + | Name | Source Attribute| |
| 102 | + | ------------ | --------- | |
| 103 | + | user_id | user.mail | |
| 104 | + |
| 105 | +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. |
| 106 | + |
| 107 | +  |
| 108 | + |
| 109 | +1. On the **Set up Authomize** section, copy the appropriate URL(s) based on your requirement. |
| 110 | + |
| 111 | +  |
| 112 | + |
| 113 | +### Create an Azure AD test user |
| 114 | + |
| 115 | +In this section, you'll create a test user in the Azure portal called B.Simon. |
| 116 | + |
| 117 | +1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**. |
| 118 | +1. Select **New user** at the top of the screen. |
| 119 | +1. In the **User** properties, follow these steps: |
| 120 | + 1. In the **Name** field, enter `B.Simon`. |
| 121 | + 1. In the **User name ** field, enter the [email protected]. For example, `[email protected]`. |
| 122 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 123 | + 1. Click **Create**. |
| 124 | + |
| 125 | +### Assign the Azure AD test user |
| 126 | + |
| 127 | +In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Authomize. |
| 128 | + |
| 129 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 130 | +1. In the applications list, select **Authomize**. |
| 131 | +1. In the app's overview page, find the **Manage** section and select **Users and groups**. |
| 132 | +1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog. |
| 133 | +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. |
| 134 | +1. If you're expecting any role value in the SAML assertion, in the **Select Role** dialog, select the appropriate role for the user from the list and then click the **Select** button at the bottom of the screen. |
| 135 | +1. In the **Add Assignment** dialog, click the **Assign** button. |
| 136 | + |
| 137 | +## Configure Authomize SSO |
| 138 | + |
| 139 | +1. Log in to your Authomize company site as an administrator. |
| 140 | + |
| 141 | +1. Go to **Settings** (gear icon) > **SSO**. |
| 142 | + |
| 143 | +1. In the **SSO Settings** page, perform the following steps: |
| 144 | + |
| 145 | +  |
| 146 | + |
| 147 | + a. Select **Enable SSO** checkbox. |
| 148 | + |
| 149 | + b. Enter a valid name in the **Title** textbox. |
| 150 | + |
| 151 | + c. Enter your **Email domain** in the textbox. |
| 152 | + |
| 153 | + d. In the **Identity provider SSO URL** textbox, paste the **Login URL** value which you have copied from the Azure portal. |
| 154 | + |
| 155 | + e. Open the downloaded **Certificate (Base64)** from the Azure portal into Notepad and paste the content into the **Public x509 certificate** textbox. |
| 156 | + |
| 157 | + f. Click **Save configuration**. |
| 158 | + |
| 159 | +### Create Authomize test user |
| 160 | + |
| 161 | +In this section, a user called B.Simon is created in Authomize. Authomize supports just-in-time user provisioning, which is enabled by default. There is no action item for you in this section. If a user doesn't already exist in Authomize, a new one is created after authentication. |
| 162 | + |
| 163 | +## Test SSO |
| 164 | + |
| 165 | +In this section, you test your Azure AD single sign-on configuration with following options. |
| 166 | + |
| 167 | +#### SP initiated: |
| 168 | + |
| 169 | +* Click on **Test this application** in Azure portal. This will redirect to Authomize Sign on URL where you can initiate the login flow. |
| 170 | + |
| 171 | +* Go to Authomize Sign-on URL directly and initiate the login flow from there. |
| 172 | + |
| 173 | +#### IDP initiated: |
| 174 | + |
| 175 | +* Click on **Test this application** in Azure portal and you should be automatically signed in to the Authomize for which you set up the SSO. |
| 176 | + |
| 177 | +You can also use Microsoft My Apps to test the application in any mode. When you click the Authomize 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 Authomize for which you set up the SSO. For more information about the My Apps, see [Introduction to the My Apps](https://support.microsoft.com/account-billing/sign-in-and-start-apps-from-the-my-apps-portal-2f3b1bae-0e5a-4a86-a33e-876fbd2a4510). |
| 178 | + |
| 179 | +## Next steps |
| 180 | + |
| 181 | +Once you configure Authomize 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 Defender for Cloud Apps](/cloud-app-security/proxy-deployment-aad). |
0 commit comments