|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure Active Directory single sign-on (SSO) integration with askSpoke | Microsoft Docs' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and askSpoke. |
| 4 | +services: active-directory |
| 5 | +documentationCenter: na |
| 6 | +author: jeevansd |
| 7 | +manager: mtillman |
| 8 | +ms.reviewer: barbkess |
| 9 | + |
| 10 | +ms.assetid: 42bc1022-376b-47c2-8ca6-739f6c219b6b |
| 11 | +ms.service: active-directory |
| 12 | +ms.subservice: saas-app-tutorial |
| 13 | +ms.workload: identity |
| 14 | +ms.tgt_pltfrm: na |
| 15 | +ms.topic: tutorial |
| 16 | +ms.date: 05/21/2020 |
| 17 | +ms.author: jeedes |
| 18 | + |
| 19 | +ms.collection: M365-identity-device-management |
| 20 | +--- |
| 21 | + |
| 22 | +# Tutorial: Azure Active Directory single sign-on (SSO) integration with askSpoke |
| 23 | + |
| 24 | +In this tutorial, you'll learn how to integrate askSpoke with Azure Active Directory (Azure AD). When you integrate askSpoke with Azure AD, you can: |
| 25 | + |
| 26 | +* Control in Azure AD who has access to askSpoke. |
| 27 | +* Enable your users to be automatically signed-in to askSpoke with their Azure AD accounts. |
| 28 | +* Manage your accounts in one central location - the Azure portal. |
| 29 | + |
| 30 | +To learn more about SaaS app integration with Azure AD, see [What is application access and single sign-on with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/manage-apps/what-is-single-sign-on). |
| 31 | + |
| 32 | +## Prerequisites |
| 33 | + |
| 34 | +To get started, you need the following items: |
| 35 | + |
| 36 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 37 | +* askSpoke single sign-on (SSO) enabled subscription. |
| 38 | + |
| 39 | +> [!NOTE] |
| 40 | +> Identifier of this application is a fixed string value so only one instance can be configured in one tenant. |
| 41 | +
|
| 42 | +## Scenario description |
| 43 | + |
| 44 | +In this tutorial, you configure and test Azure AD SSO in a test environment. |
| 45 | + |
| 46 | +* askSpoke supports **SP and IDP** initiated SSO |
| 47 | +* askSpoke supports **Just In Time** user provisioning |
| 48 | +* Once you configure askSpoke you can enforce session control, which protect exfiltration and infiltration of your organization’s sensitive data in real-time. Session control extend from Conditional Access. [Learn how to enforce session control with Microsoft Cloud App Security](https://docs.microsoft.com/cloud-app-security/proxy-deployment-any-app). |
| 49 | + |
| 50 | +## Adding askSpoke from the gallery |
| 51 | + |
| 52 | +To configure the integration of askSpoke into Azure AD, you need to add askSpoke from the gallery to your list of managed SaaS apps. |
| 53 | + |
| 54 | +1. Sign in to the [Azure portal](https://portal.azure.com) using either a work or school account, or a personal Microsoft account. |
| 55 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 56 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 57 | +1. To add new application, select **New application**. |
| 58 | +1. In the **Add from the gallery** section, type **askSpoke** in the search box. |
| 59 | +1. Select **askSpoke** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 60 | + |
| 61 | +## Configure and test Azure AD single sign-on for askSpoke |
| 62 | + |
| 63 | +Configure and test Azure AD SSO with askSpoke 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 askSpoke. |
| 64 | + |
| 65 | +To configure and test Azure AD SSO with askSpoke, complete the following building blocks: |
| 66 | + |
| 67 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature. |
| 68 | + 1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon. |
| 69 | + 1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on. |
| 70 | +1. **[Configure askSpoke SSO](#configure-askspoke-sso)** - to configure the single sign-on settings on application side. |
| 71 | + 1. **[Create askSpoke test user](#create-askspoke-test-user)** - to have a counterpart of B.Simon in askSpoke that is linked to the Azure AD representation of user. |
| 72 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 73 | + |
| 74 | +## Configure Azure AD SSO |
| 75 | + |
| 76 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 77 | + |
| 78 | +1. In the [Azure portal](https://portal.azure.com/), on the **askSpoke** application integration page, find the **Manage** section and select **single sign-on**. |
| 79 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 80 | +1. On the **Set up single sign-on with SAML** page, click the edit/pen icon for **Basic SAML Configuration** to edit the settings. |
| 81 | + |
| 82 | +  |
| 83 | + |
| 84 | +1. On the **Basic SAML Configuration** section, if you wish to configure the application in **IDP** initiated mode, enter the values for the following fields: |
| 85 | + |
| 86 | + In the **Reply URL** text box, type a URL using the following pattern: |
| 87 | + `https://<SUBDOMAIN>.askspoke.com/saml/callback` |
| 88 | + |
| 89 | + > [!NOTE] |
| 90 | + > The Reply URL value is not real. Update this value with the actual Reply URL. Contact [askSpoke 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. |
| 91 | + |
| 92 | +1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode: |
| 93 | + |
| 94 | + In the **Sign-on URL** text box, type a URL: |
| 95 | + `https://askspoke.com/login` |
| 96 | + |
| 97 | +1. askSpoke 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. |
| 98 | + |
| 99 | +  |
| 100 | + |
| 101 | +1. In addition to above, askSpoke 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. |
| 102 | + |
| 103 | + | Name | Source Attribute| |
| 104 | + | ---------------| --------- | |
| 105 | + | firstName | user.givenname | |
| 106 | + | lastName | user.surname | |
| 107 | + |
| 108 | +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. |
| 109 | + |
| 110 | +  |
| 111 | + |
| 112 | +1. On the **Set up askSpoke** section, copy the appropriate URL(s) based on your requirement. |
| 113 | + |
| 114 | +  |
| 115 | + |
| 116 | +### Create an Azure AD test user |
| 117 | + |
| 118 | +In this section, you'll create a test user in the Azure portal called B.Simon. |
| 119 | + |
| 120 | +1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**. |
| 121 | +1. Select **New user** at the top of the screen. |
| 122 | +1. In the **User** properties, follow these steps: |
| 123 | + 1. In the **Name** field, enter `B.Simon`. |
| 124 | + 1. In the **User name ** field, enter the [email protected]. For example, `[email protected]`. |
| 125 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 126 | + 1. Click **Create**. |
| 127 | + |
| 128 | +### Assign the Azure AD test user |
| 129 | + |
| 130 | +In this section, you'll enable B.Simon to use Azure single sign-on by granting access to askSpoke. |
| 131 | + |
| 132 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 133 | +1. In the applications list, select **askSpoke**. |
| 134 | +1. In the app's overview page, find the **Manage** section and select **Users and groups**. |
| 135 | + |
| 136 | +  |
| 137 | + |
| 138 | +1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog. |
| 139 | + |
| 140 | +  |
| 141 | + |
| 142 | +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. |
| 143 | +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. |
| 144 | +1. In the **Add Assignment** dialog, click the **Assign** button. |
| 145 | + |
| 146 | +## Configure askSpoke SSO |
| 147 | + |
| 148 | +1. In a different web browser window, sign into askSpoke website as an administrator. |
| 149 | + |
| 150 | +1. Click on **Settings** tab from the left navigation pane. |
| 151 | + |
| 152 | +  |
| 153 | + |
| 154 | +1. Scroll down to **SSO** and click on **Connect**. |
| 155 | + |
| 156 | +  |
| 157 | + |
| 158 | +1. On the **Enable SAML & SCIM** section, perform the following steps: |
| 159 | + |
| 160 | +  |
| 161 | + |
| 162 | + 1. In the **Sign-on URL** textbox, paste **Login URL** value, which you have copied from the Azure portal. |
| 163 | + |
| 164 | + 1. In the **Issuer** textbox, paste **Azure AD Identifier** value, which you have copied from the Azure portal. |
| 165 | + |
| 166 | + 1. Open the downloaded **Certificate(Base64)** file from the Azure portal into Notepad and copy content of certificate file and paste it into the **Public certificate** textbox. |
| 167 | + |
| 168 | + 1. Copy **ACS URL** value and paste it into **Reply URL** textbox in the **Basic SAML Configuration** section in the Azure portal. |
| 169 | + |
| 170 | + 1. Click **Test SAML connection**. |
| 171 | + |
| 172 | +### Create askSpoke test user |
| 173 | + |
| 174 | +In this section, a user called B.Simon is created in askSpoke. askSpoke supports just-in-time provisioning, which is enabled by default. There is no action item for you in this section. If a user doesn't already exist in askSpoke, a new one is created when you attempt to access askSpoke. |
| 175 | + |
| 176 | +## Test SSO |
| 177 | + |
| 178 | +In this section, you test your Azure AD single sign-on configuration using the Access Panel. |
| 179 | + |
| 180 | +When you click the askSpoke tile in the Access Panel, you should be automatically signed in to the askSpoke for which you set up SSO. For more information about the Access Panel, see [Introduction to the Access Panel](https://docs.microsoft.com/azure/active-directory/active-directory-saas-access-panel-introduction). |
| 181 | + |
| 182 | +## Additional resources |
| 183 | + |
| 184 | +- [ List of Tutorials on How to Integrate SaaS Apps with Azure Active Directory ](https://docs.microsoft.com/azure/active-directory/active-directory-saas-tutorial-list) |
| 185 | + |
| 186 | +- [What is application access and single sign-on with Azure Active Directory? ](https://docs.microsoft.com/azure/active-directory/manage-apps/what-is-single-sign-on) |
| 187 | + |
| 188 | +- [What is conditional access in Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/conditional-access/overview) |
| 189 | + |
| 190 | +- [Try askSpoke with Azure AD](https://aad.portal.azure.com/) |
| 191 | + |
| 192 | +- [What is session control in Microsoft Cloud App Security?](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 193 | + |
| 194 | +- [How to protect askSpoke with advanced visibility and controls](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 195 | + |
0 commit comments