Skip to content

Commit 6946bab

Browse files
authored
Merge pull request #204682 from bhavana-129/headspace
Product Backlog Item 1980955: SaaS App Tutorial: Headspace
2 parents 8d2ddf8 + 9c1c3c6 commit 6946bab

File tree

2 files changed

+155
-0
lines changed

2 files changed

+155
-0
lines changed
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
---
2+
title: 'Tutorial: Azure AD SSO integration with Headspace'
3+
description: Learn how to configure single sign-on between Azure Active Directory and Headspace.
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: 07/14/2022
13+
ms.author: jeedes
14+
15+
---
16+
17+
# Tutorial: Azure AD SSO integration with Headspace
18+
19+
In this tutorial, you'll learn how to integrate Headspace with Azure Active Directory (Azure AD). When you integrate Headspace with Azure AD, you can:
20+
21+
* Control in Azure AD who has access to Headspace.
22+
* Enable your users to be automatically signed-in to Headspace 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+
* Headspace single sign-on (SSO) enabled subscription.
31+
* Along with Cloud Application Administrator, Application Administrator can also add or manage applications in Azure AD.
32+
For more information, see [Azure built-in roles](../roles/permissions-reference.md).
33+
34+
## Scenario description
35+
36+
In this tutorial, you configure and test Azure AD SSO in a test environment.
37+
38+
* Headspace supports **SP** initiated SSO.
39+
* Headspace supports **Just In Time** user provisioning.
40+
41+
## Add Headspace from the gallery
42+
43+
To configure the integration of Headspace into Azure AD, you need to add Headspace from the gallery to your list of managed SaaS apps.
44+
45+
1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
46+
1. On the left navigation pane, select the **Azure Active Directory** service.
47+
1. Navigate to **Enterprise Applications** and then select **All Applications**.
48+
1. To add new application, select **New application**.
49+
1. In the **Add from the gallery** section, type **Headspace** in the search box.
50+
1. Select **Headspace** from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
51+
52+
## Configure and test Azure AD SSO for Headspace
53+
54+
Configure and test Azure AD SSO with Headspace 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 Headspace.
55+
56+
To configure and test Azure AD SSO with Headspace, perform the following steps:
57+
58+
1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature.
59+
1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon.
60+
1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on.
61+
1. **[Configure Headspace SSO](#configure-headspace-sso)** - to configure the single sign-on settings on application side.
62+
1. **[Create Headspace test user](#create-headspace-test-user)** - to have a counterpart of B.Simon in Headspace that is linked to the Azure AD representation of user.
63+
1. **[Test SSO](#test-sso)** - to verify whether the configuration works.
64+
65+
## Configure Azure AD SSO
66+
67+
Follow these steps to enable Azure AD SSO in the Azure portal.
68+
69+
1. In the Azure portal, on the **Headspace** application integration page, find the **Manage** section and select **single sign-on**.
70+
1. On the **Select a single sign-on method** page, select **SAML**.
71+
1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings.
72+
73+
![Screenshot shows to edit Basic S A M L Configuration.](common/edit-urls.png "Basic Configuration")
74+
75+
1. On the **Basic SAML Configuration** section, perform the following steps:
76+
77+
a. In the **Identifier** textbox, type a value using the following pattern:
78+
`urn:auth0:<Auth0TenantName>:<CustomerConnectionName>`
79+
80+
b. In the **Reply URL** textbox, type a value using the following pattern:
81+
`https://auth.<Enviornment>.headspace.com/login/callback?connection=<CustomerConnectionName>`
82+
83+
c. In the **Sign on URL** textbox, type a value using the following pattern:
84+
`https://<Environment>.headspace.com/sso-login`
85+
86+
> [!Note]
87+
> These values are not real. Update these values with the actual Identifier, Reply URL and Sign on URL. Contact [Headspace 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.
88+
89+
1. Headspace 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.
90+
91+
![Screenshot shows the image of Headspace application.](common/default-attributes.png "Attributes")
92+
93+
1. In addition to above, Headspace 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.
94+
95+
| Name | Source Attribute|
96+
| ------------ | --------- |
97+
| email | user.mail |
98+
| family_name | user.surname |
99+
| userName | user.userprincipalname |
100+
101+
1. On the **Set up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Certificate (PEM)** and select **Download** to download the certificate and save it on your computer.
102+
103+
![Screenshot shows the Certificate download link.](common/certificate-base64-download.png "Certificate")
104+
105+
1. On the **Set up Headspace** section, copy the appropriate URL(s) based on your requirement.
106+
107+
![Screenshot shows to copy configuration appropriate U R L.](common/copy-configuration-urls.png "Metadata")
108+
109+
### Create an Azure AD test user
110+
111+
In this section, you'll create a test user in the Azure portal called B.Simon.
112+
113+
1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**.
114+
1. Select **New user** at the top of the screen.
115+
1. In the **User** properties, follow these steps:
116+
1. In the **Name** field, enter `B.Simon`.
117+
1. In the **User name** field, enter the [email protected]. For example, `[email protected]`.
118+
1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box.
119+
1. Click **Create**.
120+
121+
### Assign the Azure AD test user
122+
123+
In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Headspace.
124+
125+
1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**.
126+
1. In the applications list, select **Headspace**.
127+
1. In the app's overview page, find the **Manage** section and select **Users and groups**.
128+
1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog.
129+
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.
130+
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.
131+
1. In the **Add Assignment** dialog, click the **Assign** button.
132+
133+
## Configure Headspace SSO
134+
135+
To configure single sign-on on **Headspace** side, you need to send the downloaded **Certificate (PEM)** and appropriate copied URLs from Azure portal to [Headspace support team](mailto:[email protected]). They set this setting to have the SAML SSO connection set properly on both sides.
136+
137+
### Create Headspace test user
138+
139+
In this section, a user called B.Simon is created in Headspace. Headspace 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 Headspace, a new one is created after authentication.
140+
141+
## Test SSO
142+
143+
In this section, you test your Azure AD single sign-on configuration with following options.
144+
145+
* Click on **Test this application** in Azure portal. This will redirect to Headspace Sign-on URL where you can initiate the login flow.
146+
147+
* Go to Headspace Sign-on URL directly and initiate the login flow from there.
148+
149+
* You can use Microsoft My Apps. When you click the Headspace tile in the My Apps, this will redirect to Headspace 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).
150+
151+
## Next steps
152+
153+
Once you configure Headspace 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).

articles/active-directory/saas-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,8 @@
994994
href: harness-tutorial.md
995995
- name: hCaptcha Enterprise
996996
href: hcaptcha-enterprise-tutorial.md
997+
- name: Headspace
998+
href: headspace-tutorial.md
997999
- name: Helper Helper
9981000
href: helper-helper-tutorial.md
9991001
- name: Help Scout

0 commit comments

Comments
 (0)