Skip to content
⌘K
InboxAsk a human

Microsoft Entra ID (Azure AD) + Enterpret: OIDC SSO setup

Updated by Vaishnavi

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

  1. User navigates to Enterpret (directly or via My Apps)

  2. Enterpret starts authorization through Amazon Cognito, which redirects the user to Microsoft Entra ID.

  3. Entra ID authenticates the user

  4. Entra ID returns an authorization code to Enterpret’s Amazon Cognito callback.

  5. 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

  1. Register an application in Microsoft Entra ID

  2. Copy Client ID, Client Secret, and Issuer URL

  3. Configure OIDC SSO in Enterpret

  4. Test login

  5. (Optional) Enable My Apps tile access


Step 1: Register an Application in Microsoft Entra ID

1. Create the App Registration

  1. Sign in to the Azure portal and search for Microsoft Entra ID in the top bar.

    Microsoft Azure search results with Microsoft Entra ID available.
  2. In the left sidebar, go to Manage → App registrations → New registration.

    Microsoft Entra App registrations navigation and New registration button highlighted.
  3. Fill in the registration form:

    • Name: Enterpret Inc

    • Supported 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

      Register an application form with a single-tenant account type and a web Redirect URI.
  4. 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

  1. From the app's Overview page, copy the Application (client) ID.

    Azure app overview with the Application (client) ID field and Certificates & secrets navigation highlighted.

2. Client Secret

  1. In the left sidebar, click Certificates & secrets → New client secret.

  2. Enter a description (e.g. Enterpret SSO) and choose an expiry duration.

  3. Click Add, then immediately copy the Value column.

    Azure Certificates & secrets page with the Add a client secret pane open.

⚠️ 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

  1. From the app's Overview page, click Endpoints in the top toolbar.

  2. Find the OpenID Connect metadata document URL. It will look like:
    https://login.microsoftonline.com/<tenant-id>/v2.0/.well-known/openid-configuration

  3. Remove the trailing /.well-known/openid-configuration. Your Issuer URL is:
    https://login.microsoftonline.com/<tenant-id>/v2.0

    Azure Endpoints pane with the OpenID Connect metadata document URL highlighted.

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 /.well-known/openid-configuration


Step 3: Configure OIDC SSO in Enterpret

  1. Log in to Enterpret.

  2. Click your organization logo (bottom-left).

  3. Open Settings → SSO and SCIM. Older navigation may show Access Settings → SSO & SCIM Settings, as in the screenshots.

    Enterpret Settings navigation with SSO & SCIM Settings and Configure highlighted.
  4. Click Set up SSO (Configure in the older screenshot).

  5. Select OIDC, then Proceed.

    Enterpret Configure SSO dialog with OIDC selected.
  6. Enter your Client ID, Client Secret, and Issuer URL.

  7. Click Submit. ✅

After the request succeeds, confirm the Configured status, then test sign-in.

SSO Configured confirmation advising a sign-out and SSO sign-in test.

Step 4: Test OIDC SSO

  1. Log out of Enterpret.

  2. Go to the Enterpret login page.

  3. Click Sign in with SSO.

  4. Enter your email and select the workspace if prompted, then authenticate with your Entra ID credentials when redirected.

  5. 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

  1. In the Entra admin center, go to Enterprise applications → All applications and open your Enterpret Inc app.

  2. 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.

  3. Save the changes.

Assign Users or Groups

  1. Under Manage → Users and groups, click Add user/group.

  2. 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.0 endpoint, not the legacy sts.windows.net format

  • ✅ 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.