Microsoft Entra ID (Azure AD) + Enterpret: OIDC SSO setup
Overview
Single Sign-On (SSO) allows users to log in to Enterpret using their organization's Microsoft Entra ID (formerly Azure Active Directory) credentials. Enterpret supports OpenID Connect (OIDC) for SSO, providing a modern, secure authentication flow.
This guide walks you through the complete, end-to-end process to configure OIDC-based SSO between Microsoft Entra ID and Enterpret, including testing and optional My Apps tile access.
🔐 Understanding OIDC SSO Login Flow (Read This First)
In this Enterpret OIDC setup, start sign-in from Enterpret. A My Apps tile can open the Enterpret login page, where the user starts the same authorization flow.
This means:
✅ No RelayState is required
✅ This setup uses the authorization-code flow initiated from Enterpret.
✅ Test direct Enterpret sign-in before enabling optional portal access.
How the OIDC Flow Works
User navigates to Enterpret (directly or via My Apps)
Enterpret starts authorization through Amazon Cognito, which redirects the user to Microsoft Entra ID.
Entra ID authenticates the user
Entra ID returns an authorization code to Enterpret’s Amazon Cognito callback.
Cognito exchanges the code with Entra ID, then completes Enterpret’s sign-in flow. Workspace access still depends on the user and configured provider.
👉 For this setup, use the Enterpret login page to start sign-in.
Prerequisites
Before starting, ensure you have:
Permission to configure SSO in your Enterpret workspace.
Admin access to the Microsoft Entra admin center
Permission to register applications in your Azure tenant
An Entra email claim containing the email address used for the user’s Enterpret workspace access.
High-Level Setup Flow
Register an application in Microsoft Entra ID
Copy Client ID, Client Secret, and Issuer URL
Configure OIDC SSO in Enterpret
Test login
(Optional) Enable My Apps tile access
Step 1: Register an Application in Microsoft Entra ID
1. Create the App Registration
Sign in to the Azure portal and search for Microsoft Entra ID in the top bar.
In the left sidebar, go to Manage → App registrations → New registration.
Fill in the registration form:
Name:
Enterpret IncSupported account types: Select the option matching your organization (typically Accounts in this organizational directory only)
Redirect URI: Select platform Web, then enter:
https://enterpret-prod.auth.us-east-2.amazoncognito.com/oauth2/idpresponse
Click Register.
⚠️ Make sure to select Web as the platform for the Redirect URI — not SPA or Mobile.
Step 2: Copy Required Values from Azure
Enterpret requires three values from your app registration.
1. Client ID
From the app's Overview page, copy the Application (client) ID.
2. Client Secret
In the left sidebar, click Certificates & secrets → New client secret.
Enter a description (e.g.
Enterpret SSO) and choose an expiry duration.Click Add, then immediately copy the Value column.
⚠️ Azure only shows the secret value once. Copy it before navigating away. Note that you need the Value, not the Secret ID.
3. Issuer URL
From the app's Overview page, click Endpoints in the top toolbar.
Find the OpenID Connect metadata document URL. It will look like:
https://login.microsoftonline.com/<tenant-id>/v2.0/.well-known/openid-configurationRemove the trailing
/.well-known/openid-configuration. Your Issuer URL is:https://login.microsoftonline.com/<tenant-id>/v2.0
Use the tenant-specific /v2.0 issuer shown by the OpenID Connect discovery document. The configured issuer must match that document.
Value | Where to Find It in Azure |
Client ID | App Overview → Application (client) ID |
Client Secret | Certificates & secrets → New client secret → copy Value |
Issuer URL | Endpoints → OpenID Connect metadata document URL, remove |
Step 3: Configure OIDC SSO in Enterpret
Log in to Enterpret.
Click your organization logo (bottom-left).
Open Settings → SSO and SCIM. Older navigation may show Access Settings → SSO & SCIM Settings, as in the screenshots.
Click Set up SSO (Configure in the older screenshot).
Select OIDC, then Proceed.
Enter your Client ID, Client Secret, and Issuer URL.
Click Submit. ✅
After the request succeeds, confirm the Configured status, then test sign-in.
Step 4: Test OIDC SSO
Log out of Enterpret.
Go to the Enterpret login page.
Click Sign in with SSO.
Enter your email and select the workspace if prompted, then authenticate with your Entra ID credentials when redirected.
Confirm you are returned to Enterpret and successfully logged in.
Step 5: Enable My Apps Tile (Optional)
You can allow users to launch Enterpret from the Azure My Apps portal (myapps.microsoft.com).
Make the App Visible in My Apps
In the Entra admin center, go to Enterprise applications → All applications and open your Enterpret Inc app.
Under Manage → Properties, set Visible to users? to Yes. Also configure the app registration’s Homepage URL to
https://dashboard.enterpret.com/login?view=sso; a visible app without a homepage cannot launch from My Apps.Save the changes.
Assign Users or Groups
Under Manage → Users and groups, click Add user/group.
Select the users or groups who should have access and click Assign.
Test the tile as an assigned user. It should open Enterpret’s SSO login page; enter the user’s email and select the workspace if prompted to start sign-in.
If Assignment required is enabled, assign the intended users or groups and test with a regular user. Microsoft documents a Global Administrator exception to assignment restrictions.
Troubleshooting Checklist
✅ The emitted email claim matches the address used for Enterpret workspace access
✅ User is assigned to the Enterpret Inc app (if Assignment required is enabled)
✅ Client ID, Client Secret (Value, not Secret ID), and Issuer URL are correct
✅ Redirect URI platform is set to Web and the URI matches exactly
✅ Issuer URL uses the
/v2.0endpoint, not the legacysts.windows.netformat✅ Client secret has not expired — check the expiry date under Certificates & secrets
Frequently asked questions
Do I need to configure an email attribute claim?
Enterpret requests the email scope and maps the email claim. Verify that Entra emits it with the intended Enterpret email address for each user type you support. Microsoft supports requesting it through the email scope or an optional claim; a UPN that looks like an email is not a substitute for checking the emitted claim.
My client secret expired — what do I do?
Create a new secret under Certificates & secrets and copy its Value. Contact your Enterpret team to coordinate SSO reconfiguration with the new secret, then test sign-in before enforcing SSO again. The current configured-SSO screen does not offer an in-place Client Secret editor; plan the change before expiry.
Can I enforce SSO so users can only log in via Entra ID?
Enable Enforce SSO only after testing the configured provider. Enforced workspace access requires an SSO identity from that workspace’s configured provider; a password-authenticated session does not satisfy that requirement.
What is RelayState? Do I need it?
No. RelayState is a SAML concept and is not used in OIDC flows.
Can I use a certificate instead of a client secret?
Enterpret's OIDC configuration currently requires a Client Secret. Certificate-based authentication is not supported on the Enterpret side.