|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure Active Directory single sign-on (SSO) integration with EasySSO for Confluence | Microsoft Docs' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and EasySSO for Confluence. |
| 4 | +services: active-directory |
| 5 | +documentationCenter: na |
| 6 | +author: jeevansd |
| 7 | +manager: mtillman |
| 8 | +ms.reviewer: barbkess |
| 9 | + |
| 10 | +ms.assetid: 959019be-c7f6-41cc-b0ff-c5927ce64a74 |
| 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/18/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 EasySSO for Confluence |
| 23 | + |
| 24 | +In this tutorial, you'll learn how to integrate EasySSO for Confluence with Azure Active Directory (Azure AD). When you integrate EasySSO for Confluence with Azure AD, you can: |
| 25 | + |
| 26 | +* Control in Azure AD who has access to EasySSO for Confluence. |
| 27 | +* Enable your users to be automatically signed-in to EasySSO for Confluence 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 | +* EasySSO for Confluence single sign-on (SSO) enabled subscription. |
| 38 | + |
| 39 | +## Scenario description |
| 40 | + |
| 41 | +In this tutorial, you configure and test Azure AD SSO in a test environment. |
| 42 | + |
| 43 | +* EasySSO for Confluence supports **SP and IDP** initiated SSO |
| 44 | +* EasySSO for Confluence supports **Just In Time** user provisioning |
| 45 | +* Once you configure EasySSO for Confluence 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). |
| 46 | + |
| 47 | +## Adding EasySSO for Confluence from the gallery |
| 48 | + |
| 49 | +To configure the integration of EasySSO for Confluence into Azure AD, you need to add EasySSO for Confluence from the gallery to your list of managed SaaS apps. |
| 50 | + |
| 51 | +1. Sign in to the [Azure portal](https://portal.azure.com) using either a work or school account, or a personal Microsoft account. |
| 52 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 53 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 54 | +1. To add new application, select **New application**. |
| 55 | +1. In the **Add from the gallery** section, type **EasySSO for Confluence** in the search box. |
| 56 | +1. Select **EasySSO for Confluence** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 57 | + |
| 58 | +## Configure and test Azure AD single sign-on for EasySSO for Confluence |
| 59 | + |
| 60 | +Configure and test Azure AD SSO with EasySSO for Confluence 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 EasySSO for Confluence. |
| 61 | + |
| 62 | +To configure and test Azure AD SSO with EasySSO for Confluence, complete the following building blocks: |
| 63 | + |
| 64 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature. |
| 65 | + 1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon. |
| 66 | + 1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on. |
| 67 | +1. **[Configure EasySSO for Confluence SSO](#configure-easysso-for-confluence-sso)** - to configure the single sign-on settings on application side. |
| 68 | + 1. **[Create EasySSO for Confluence test user](#create-easysso-for-confluence-test-user)** - to have a counterpart of B.Simon in EasySSO for Confluence that is linked to the Azure AD representation of user. |
| 69 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 70 | + |
| 71 | +## Configure Azure AD SSO |
| 72 | + |
| 73 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 74 | + |
| 75 | +1. In the [Azure portal](https://portal.azure.com/), on the **EasySSO for Confluence** application integration page, find the **Manage** section and select **single sign-on**. |
| 76 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 77 | +1. On the **Set up single sign-on with SAML** page, click the edit/pen icon for **Basic SAML Configuration** to edit the settings. |
| 78 | + |
| 79 | +  |
| 80 | + |
| 81 | +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: |
| 82 | + |
| 83 | + a. In the **Identifier** text box, type a URL using the following pattern: |
| 84 | + `https://<server-base-url>/plugins/servlet/easysso/saml` |
| 85 | + |
| 86 | + b. In the **Reply URL** text box, type a URL using the following pattern: |
| 87 | + `https://<server-base-url>/plugins/servlet/easysso/saml` |
| 88 | + |
| 89 | +1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode: |
| 90 | + |
| 91 | + In the **Sign-on URL** text box, type a URL using the following pattern: |
| 92 | + `https://<server-base-url>/` |
| 93 | + |
| 94 | + > [!NOTE] |
| 95 | + > These values are not real. Update these values with the actual Identifier, Reply URL and Sign-on URL. Contact [EasySSO for Confluence 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. |
| 96 | + |
| 97 | +1. EasySSO for Confluence 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, EasySSO for Confluence 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 | + | urn:oid:2.16.840.1.113730.3.1.241 | user.displayname | |
| 106 | + | urn:oid:2.5.4.42 | user.givenname | |
| 107 | + | urn:oid:2.5.4.4 | user.surname | |
| 108 | + | urn:oid:0.9.2342.19200300.100.1.1 | user.userprincipalname| |
| 109 | + | urn:oid:0.9.2342.19200300.100.1.3 | user.userprincipalname | |
| 110 | + | | | |
| 111 | + |
| 112 | +1. On the **Set up single sign-on with SAML** page, In the **SAML Signing Certificate** section, click copy button to copy **App Federation Metadata Url** and save it on your computer. |
| 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 EasySSO for Confluence. |
| 131 | + |
| 132 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 133 | +1. In the applications list, select **EasySSO for Confluence**. |
| 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 EasySSO for Confluence SSO |
| 147 | + |
| 148 | +1. Sign into your EasySSO for Confluence instance with Administrator privileges and navigate to the **Manage Apps** section. |
| 149 | + |
| 150 | +  |
| 151 | + |
| 152 | +1. Click on **EasySSO**. |
| 153 | + |
| 154 | +  |
| 155 | + |
| 156 | +1. Select **SAML** option. This will take you to SAML configuration section. |
| 157 | + |
| 158 | +  |
| 159 | + |
| 160 | +1. Select **Certificates** tab on the top and you will be presented with the following screen and locate **Certificate (Base64)** or **Metadata File** you have saved in the earlier steps of **Azure AD SSO** configuration. You have following options on how to proceed: |
| 161 | + |
| 162 | +  |
| 163 | + |
| 164 | + a. Use the App Federation **Metadata File** you downloaded to local file on your computer. Select **Upload** radio button and follow the upload file dialog specific to your operating system |
| 165 | + |
| 166 | + **OR** |
| 167 | + |
| 168 | + b. Open the App Federation **Metadata File** to see the content (in any plain text editor) of the file and copy it into the clipboard. Select **Input** option and paste clipboard content into the text field. |
| 169 | + |
| 170 | + **OR** |
| 171 | + |
| 172 | + c. Fully manual configuration. Open the App Federation **Certificate (Base64)** to see the content (in any plain text editor) of the file and copy it into the clipboard. Paste it into **IdP Token Signing Certificates** text field. Then navigate to **General** tab and fill **POST Binding URL** and **Entity ID** fields with respective values for **Login URL** and **Azure AD Identifier** you saved previously. |
| 173 | + |
| 174 | +1. Click **Save** button on the bottom of the page. You will see the content of the Metadata or Certificate files is parsed into the configuration fields. EasySSO for Confluence configuration is complete. |
| 175 | + |
| 176 | +1. For the best testing experience, navigate to **Look & Feel** tab and check the **SAML Login Button** option on. This will enable separate button on the Jira login screen specifically to test your Azure AD SAML integration end to end. You can leave this button on and configure its placement, color and translation for production mode, too. |
| 177 | + |
| 178 | +  |
| 179 | + |
| 180 | + > [!NOTE] |
| 181 | + > Should you have any issues, please contact [EasySSO support team](mailto:[email protected]). |
| 182 | +
|
| 183 | +### Create EasySSO for Confluence test user |
| 184 | + |
| 185 | +In this section, a user called B.Simon is created in EasySSO for Confluence. EasySSO for Confluence supports just-in-time user provisioning, which is **disabled** by default. To enable user provisioning, you have to explicitly check **Create user on successful login** option on in the General section of EasySSO plugin configuration. If a user doesn't already exist in EasySSO for Confluence, a new one is created after authentication. |
| 186 | + |
| 187 | +However, if you do not wish to enable automatic user provisioning on the user first login, users must exist in backend User Directories the EasySSO for Confluence instance make use of, such as LDAP or Atlassian Crowd. |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | +## Test SSO |
| 192 | + |
| 193 | +In this section, you test your Azure AD single sign-on configuration using the Access Panel. |
| 194 | + |
| 195 | +When you click the EasySSO for Confluence tile in the Access Panel, you should be automatically signed in to the EasySSO for Confluence 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). |
| 196 | + |
| 197 | +## Additional resources |
| 198 | + |
| 199 | +- [ 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) |
| 200 | + |
| 201 | +- [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) |
| 202 | + |
| 203 | +- [What is conditional access in Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/conditional-access/overview) |
| 204 | + |
| 205 | +- [Try EasySSO for Confluence with Azure AD](https://aad.portal.azure.com/) |
| 206 | + |
| 207 | +- [What is session control in Microsoft Cloud App Security?](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 208 | + |
| 209 | +- [How to protect EasySSO for Confluence with advanced visibility and controls](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 210 | + |
0 commit comments