Skip to content

Commit 928e9d3

Browse files
authored
Merge pull request #174727 from bhavana-129/snackmagic
Product Backlog Item 1602306: SaaS App Tutorial: Snackmagic
2 parents 606c9e2 + 0e39440 commit 928e9d3

File tree

3 files changed

+183
-0
lines changed

3 files changed

+183
-0
lines changed
82.8 KB
Loading
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
---
2+
title: 'Tutorial: Azure AD SSO integration with Snackmagic'
3+
description: Learn how to configure single sign-on between Azure Active Directory and Snackmagic.
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: 10/06/2021
13+
ms.author: jeedes
14+
15+
---
16+
17+
# Tutorial: Azure AD SSO integration with Snackmagic
18+
19+
In this tutorial, you'll learn how to integrate Snackmagic with Azure Active Directory (Azure AD). When you integrate Snackmagic with Azure AD, you can:
20+
21+
* Control in Azure AD who has access to Snackmagic.
22+
* Enable your users to be automatically signed-in to Snackmagic 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+
* Snackmagic 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+
* Snackmagic supports **SP and IDP** initiated SSO.
37+
* Snackmagic supports **Just In Time** user provisioning.
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+
## Add Snackmagic from the gallery
43+
44+
To configure the integration of Snackmagic into Azure AD, you need to add Snackmagic from the gallery to your list of managed SaaS apps.
45+
46+
1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
47+
1. On the left navigation pane, select the **Azure Active Directory** service.
48+
1. Navigate to **Enterprise Applications** and then select **All Applications**.
49+
1. To add new application, select **New application**.
50+
1. In the **Add from the gallery** section, type **Snackmagic** in the search box.
51+
1. Select **Snackmagic** from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
52+
53+
## Configure and test Azure AD SSO for Snackmagic
54+
55+
Configure and test Azure AD SSO with Snackmagic 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 Snackmagic.
56+
57+
To configure and test Azure AD SSO with Snackmagic, perform the following steps:
58+
59+
1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature.
60+
1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon.
61+
1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on.
62+
1. **[Configure Snackmagic SSO](#configure-snackmagic-sso)** - to configure the single sign-on settings on application side.
63+
1. **[Create Snackmagic test user](#create-snackmagic-test-user)** - to have a counterpart of B.Simon in Snackmagic that is linked to the Azure AD representation of user.
64+
1. **[Test SSO](#test-sso)** - to verify whether the configuration works.
65+
66+
## Configure Azure AD SSO
67+
68+
Follow these steps to enable Azure AD SSO in the Azure portal.
69+
70+
1. In the Azure portal, on the **Snackmagic** application integration page, find the **Manage** section and select **single sign-on**.
71+
1. On the **Select a single sign-on method** page, select **SAML**.
72+
1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings.
73+
74+
![Edit Basic SAML Configuration](common/edit-urls.png)
75+
76+
1. On the **Basic SAML Configuration** section, perform the following steps:
77+
78+
a. In the **Relay State** text box, type the URL:
79+
`https://www.snackmagic.com/`
80+
81+
b. In the **Logout Url** text box, type the URL:
82+
`https://sso.snackmagic.com/slo/callback`
83+
84+
1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode:
85+
86+
a. In the **Sign-on URL** text box, type the URL:
87+
`https://www.snackmagic.com/?modal=login`
88+
89+
1. Click **Save**.
90+
91+
1. Snackmagic 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.
92+
93+
![image](common/default-attributes.png)
94+
95+
1. In addition to above, Snackmagic 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.
96+
97+
| Name | Source Attribute|
98+
| --------| --------- |
99+
| firstName | user.givenname |
100+
| lastName | user.surname |
101+
| company | user.companyname |
102+
| phone | user.telephonenumber |
103+
| email | user.userprincipalname |
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+
![The Certificate download link](common/certificatebase64.png)
108+
109+
1. On the **Set up Snackmagic** section, copy the appropriate URL(s) based on your requirement.
110+
111+
![Copy configuration URLs](common/copy-configuration-urls.png)
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 Snackmagic.
128+
129+
1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**.
130+
1. In the applications list, select **Snackmagic**.
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 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.
135+
1. In the **Add Assignment** dialog, click the **Assign** button.
136+
137+
## Configure Snackmagic SSO
138+
139+
1. Log in to your Snackmagic company site as an administrator.
140+
141+
1. Go to **Account Settings** > **SSO Preferences** and perform the following steps:
142+
143+
![Screenshot shows the SSO Settings.](./media/snackmagic-tutorial/account.png "SSO Settings")
144+
145+
1. Select **Enable SSO** checkbox.
146+
147+
1. In the **Service Provider Issuer/Identifier** textbox, paste the **Identifier URL** value, which you have copied from the Azure portal.
148+
149+
1. In the **Identity Provider Single Sign-On URL** textbox, paste the **Login URL** value, which you have copied from the Azure portal.
150+
151+
1. Open the downloaded **Certificate (Base64)** from the Azure portal into Notepad and paste the content into the **X.509 Certificate** textbox.
152+
153+
1. Select **Enable SLO** checkbox.
154+
155+
1. In the **Identity Provider Single Logout URL** textbox, paste the **Logout URL** value, which you have copied from the Azure portal.
156+
157+
1. Click **SUBMIT**.
158+
159+
### Create Snackmagic test user
160+
161+
In this section, a user called Britta Simon is created in Snackmagic. Snackmagic 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 Snackmagic, 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 Snackmagic Sign on URL where you can initiate the login flow.
170+
171+
* Go to Snackmagic 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 Snackmagic 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 Snackmagic 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 Snackmagic for which you set up the SSO. For more information about the My Apps, see [Introduction to the My Apps](../user-help/my-apps-portal-end-user-access.md).
178+
179+
## Next steps
180+
181+
Once you configure Snackmagic 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
@@ -1918,6 +1918,8 @@
19181918
href: smartrecruiters-tutorial.md
19191919
- name: smartvid.io
19201920
href: smartvid.io-tutorial.md
1921+
- name: Snackmagic
1922+
href: snackmagic-tutorial.md
19211923
- name: Snowflake
19221924
href: snowflake-tutorial.md
19231925
- name: Softeon WMS

0 commit comments

Comments
 (0)