Microsoft Entra SSO integration with OptiTurn
In this article, you'll learn how to integrate OptiTurn with Microsoft Entra ID. OptiTurn is a returns management platform that helps retailers route returned items, improve warehouse operations, and manage inventory backlogs. When you integrate OptiTurn with Microsoft Entra ID, you can:
- Control in Microsoft Entra ID who has access to OptiTurn.
- Enable your users to be automatically signed-in to OptiTurn with their Microsoft Entra accounts.
- Manage your accounts in one central location.
You'll configure and test Microsoft Entra single sign-on for OptiTurn in a test environment. OptiTurn supports SP initiated single sign-on and Just In Time user provisioning.
Note
Identifier of this application is a fixed string value so only one instance can be configured in one tenant.
To integrate Microsoft Entra ID with OptiTurn, you need:
- A Microsoft Entra user account. If you don't already have one, you can Create an account for free.
- One of the following roles: Application Administrator, Cloud Application Administrator, or Application Owner.
- A Microsoft Entra subscription. If you don't have a subscription, you can get a free account.
- OptiTurn single sign-on (SSO) enabled subscription.
Before you begin the process of configuring single sign-on, you need to add the OptiTurn application from the Microsoft Entra gallery. You need a test user account to assign to the application and test the single sign-on configuration.
Add OptiTurn from the Microsoft Entra application gallery to configure single sign-on with OptiTurn. For more information on how to add application from the gallery, see the Quickstart: Add application from the gallery.
Follow the guidelines in the create and assign a user account article to create a test user account called B.Simon.
Alternatively, you can also use the Enterprise App Configuration Wizard. In this wizard, you can add an application to your tenant, add users/groups to the app, and assign roles. The wizard also provides a link to the single sign-on configuration pane. Learn more about Microsoft 365 wizards..
Complete the following steps to enable Microsoft Entra single sign-on.
Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
Browse to Identity > Applications > Enterprise applications > OptiTurn > Single sign-on.
On the Select a single sign-on method page, select SAML.
On the Set up single sign-on with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.
On the Basic SAML Configuration section, perform the following steps:
a. In the Identifier textbox, type the URL using one of the following:
Identifier https://optiturn.com/sp
- productionhttps://sandbox.optiturn.com/sp
- testingb. In the Reply URL textbox, type a URL using one of the following patterns:
Reply URL https://optiturn.com/auth/saml/<Customer_Name>_azure_saml/callback
- productionhttps://sandbox.optiturn.com/auth/saml/<Customer_Name>_azure_saml/callback
- testingc. In the Sign on URL textbox, type one of the following:
Sign on URL https://optiturn.com/session/new
- productionhttps://sandbox.optiturn.com/session/new
- testingNote
<Customer_Name>
should be replaced with a lowercased and underscored version of your company’s name. For example, Fake Corp. would become fake_corp. The OptiTurn support team can help choose this value.OptiTurn 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.
In addition to above, OptiTurn 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.
Name Source Attribute email user.mail first_name user.givenname last_name user.surname Note
The warehouse_identifier assertion attribute is recommended for ease of use, but it is not required. warehouse_identifier is an identifier for the warehouse where a given employee is physically located. We will match the identifier against a warehouse that is configured in OptiTurn. The user’s activity and data will then be “scoped” to that warehouse.
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.
On the Set up OptiTurn section, copy the appropriate URL(s) based on your requirement.
To configure single sign-on on OptiTurn side, you need to send the downloaded Certificate (Base64) and appropriate copied URLs from the application configuration to OptiTurn support team. They set this setting to have the SAML SSO connection set properly on both sides
In this section, a user called B.Simon is created in OptiTurn. OptiTurn supports just-in-time user provisioning, which is enabled by default. There's no action item for you in this section. If a user doesn't already exist in OptiTurn, a new one is commonly created after authentication.
In this section, you test your Microsoft Entra single sign-on configuration with following options.
Click on Test this application, this will redirect to OptiTurn Sign-on URL where you can initiate the login flow.
Go to OptiTurn Sign-on URL directly and initiate the login flow from there.
You can use Microsoft My Apps. When you click the OptiTurn tile in the My Apps, this will redirect to OptiTurn Sign-on URL. For more information, see Microsoft Entra My Apps.
Once you configure OptiTurn 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.