Skip to content

Commit 7bf095e

Browse files
authored
Merge pull request #146349 from v-hagamp/rewatch
Product Backlog Item 1291192: SaaS App Tutorial: Rewatch
2 parents 17de7dc + a351865 commit 7bf095e

File tree

4 files changed

+170
-0
lines changed

4 files changed

+170
-0
lines changed
26 KB
Loading
98.7 KB
Loading
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
---
2+
title: 'Tutorial: Azure Active Directory single sign-on (SSO) integration with Rewatch | Microsoft Docs'
3+
description: Learn how to configure single sign-on between Azure Active Directory and Rewatch.
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/10/2021
13+
ms.author: jeedes
14+
15+
---
16+
17+
# Tutorial: Azure Active Directory single sign-on (SSO) integration with Rewatch
18+
19+
In this tutorial, you'll learn how to integrate Rewatch with Azure Active. Directory (Azure AD). When you integrate Rewatch with Azure AD, you can:
20+
21+
* Control in Azure AD who has access to Rewatch.
22+
* Enable your users to be automatically signed-in to Rewatch 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+
* Rewatch 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+
* Rewatch supports **SP and IDP** initiated SSO
37+
* Rewatch supports **Just In Time** user provisioning
38+
39+
## Adding Rewatch from the gallery
40+
41+
To configure the integration of Rewatch into Azure AD, you need to add Rewatch from the gallery to your list of managed SaaS apps.
42+
43+
1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
44+
1. On the left navigation pane, select the **Azure Active Directory** service.
45+
1. Navigate to **Enterprise Applications** and then select **All Applications**.
46+
1. To add new application, select **New application**.
47+
1. In the **Add from the gallery** section, type **Rewatch** in the search box.
48+
1. Select **Rewatch** from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
49+
50+
51+
## Configure and test Azure AD SSO for Rewatch
52+
53+
Configure and test Azure AD SSO with Rewatch 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 Rewatch.
54+
55+
To configure and test Azure AD SSO with Rewatch, 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 Rewatch SSO](#configure-rewatch-sso)** - to configure the single sign-on settings on application side.
61+
1. **[Create Rewatch test user](#create-rewatch-test-user)** - to have a counterpart of B.Simon in Rewatch 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 **Rewatch** 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+
![Edit Basic SAML Configuration](common/edit-urls.png)
73+
74+
1. On the **Basic SAML Configuration** section, the user does not have to perform any step as the app is already pre-integrated with Azure.
75+
76+
1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode:
77+
78+
In the **Sign-on URL** text box, type the URL:
79+
`https://rewatch.tv/login`
80+
81+
1. Rewatch 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.
82+
83+
![image](common/default-attributes.png)
84+
85+
1. In addition to above, Rewatch 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.
86+
87+
| Name | Source Attribute|
88+
| --------------- | --------- |
89+
| Group | user.groups |
90+
91+
92+
1. Click **Save**.
93+
94+
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.
95+
96+
![The Certificate download link](common/certificatebase64.png)
97+
98+
1. On the **Set up Rewatch** section, copy the appropriate URL(s) based on your requirement.
99+
100+
![Copy configuration URLs](common/copy-configuration-urls.png)
101+
### Create an Azure AD test user
102+
103+
In this section, you'll create a test user in the Azure portal called B.Simon.
104+
105+
1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**.
106+
1. Select **New user** at the top of the screen.
107+
1. In the **User** properties, follow these steps:
108+
1. In the **Name** field, enter `B.Simon`.
109+
1. In the **User name** field, enter the [email protected]. For example, `[email protected]`.
110+
1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box.
111+
1. Click **Create**.
112+
113+
### Assign the Azure AD test user
114+
115+
In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Rewatch.
116+
117+
1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**.
118+
1. In the applications list, select **Rewatch**.
119+
1. In the app's overview page, find the **Manage** section and select **Users and groups**.
120+
1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog.
121+
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.
122+
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.
123+
1. In the **Add Assignment** dialog, click the **Assign** button.
124+
125+
## Configure Rewatch SSO
126+
127+
1. In a different web browser window, sign in to your Rewatch company site as an administrator.
128+
129+
1. Click on **Admin Console** in the left side menu.
130+
131+
![Rewatch admin console in the home page.](./media/rewatch-tutorial/admin-console.png)
132+
133+
1. Go to the **Security** and perform the below steps in the **SAML single sign-on** section.
134+
135+
![saml single sign-on section.](./media/rewatch-tutorial/security.png)
136+
137+
a. In the **IdP SSO target URL** textbox, paste the **Login URL** value which you have copied from the Azure portal.
138+
139+
b. Open the downloaded **Certificate (Base64)** from the Azure portal into Notepad and paste the content into the **IdP certificate** textbox.
140+
141+
c. Check **Enable SAML login for this channel** and click on **Save**.
142+
143+
### Create Rewatch test user
144+
145+
In this section, a user called Britta Simon is created in Rewatch. Rewatch 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 Rewatch, a new one is created after authentication.
146+
147+
## Test SSO
148+
149+
In this section, you test your Azure AD single sign-on configuration with following options.
150+
151+
#### SP initiated:
152+
153+
* Click on **Test this application** in Azure portal. This will redirect to Rewatch Sign on URL where you can initiate the login flow.
154+
155+
* Go to Rewatch Sign-on URL directly and initiate the login flow from there.
156+
157+
#### IDP initiated:
158+
159+
* Click on **Test this application** in Azure portal and you should be automatically signed in to the Rewatch for which you set up the SSO
160+
161+
You can also use Microsoft My Apps to test the application in any mode. When you click the Rewatch 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 Rewatch for which you set up the SSO. For more information about the My Apps, see [Introduction to the My Apps](https://docs.microsoft.com/azure/active-directory/active-directory-saas-access-panel-introduction).
162+
163+
164+
## Next steps
165+
166+
Once you configure Rewatch 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](https://docs.microsoft.com/cloud-app-security/proxy-deployment-any-app).
167+
168+

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,8 @@
14741474
href: reviewsnap-tutorial.md
14751475
- name: Reward Gateway
14761476
href: reward-gateway-tutorial.md
1477+
- name: Rewatch
1478+
href: rewatch-tutorial.md
14771479
- name: RFPIO
14781480
href: rfpio-tutorial.md
14791481
- name: RightAnswers

0 commit comments

Comments
 (0)