To configure SSO with SAML on Microsoft Azure, follow these steps:
1. Create a new Enterprise Application in Azure
Log in to your Azure portal:
https://portal.azure.com/
Click on Azure Active Directory in the left-hand menu.
In the Azure Active Directory menu, click on Enterprise applications.
Click New application near the top of the screen.
Select Non-gallery application and enter a name for your application (e.g., Snappy Dashboard).
Click Add to create the application.
2. Configure SSO for the application
In the Overview section of your new application, click on Single sign-on in the left-hand menu.
Select SAML as the single sign-on method.
In the Basic SAML Configuration section, click Edit.
Enter the following information:
Identifier (Entity ID):
urn:amazon:cognito:sp:us-east-1_Nx4rC8vmS
Reply URL (Assertion Consumer Service URL):
https://auth.snappygifts.com/saml2/idpresponse
Click Save.
3. Configure SAML response
In the User Attributes & Claims section, click Edit.
Configure the following attributes with their respective values:
email:
user.mail
firstName:
user.givenname
lastName:
user.surname
Click Save.
4. Extract the Issuer URL
In the SAML Signing Certificate section, click Edit.
Copy the App Federation Metadata Url. This is your Issuer URL, which you will use in the SSO configurations on the Snappy Dashboard.
5. Add the redirect URL
In the Single sign-on section of your application, click Edit under Set up Snappy Dashboard SSO.
Add the redirect URL:
โhttps://login.snappy.com/login/SSO?ssoName=<your_sso_name>
Replace
<your_sso_name>
with a unique name for your organization.
Click Save.
6. Assign users
In the Users and groups section of your application, click Add user.
Assign users or groups to the application. Only users with access to the Snappy Dashboard will be able to complete a successful SSO login.
7. Configure SSO on Snappy Dashboard
Follow the steps outlined in the original guide under "Configure SSO on Snappy Dashboard" to complete the SSO setup using the Issuer URL and SSO name you configured in Azure.
Once you've completed these steps, SSO with SAML should be configured for your Snappy Dashboard using Microsoft Azure. Users can now log in using SSO through their Azure account.