> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SSO Provider Setup

> Instructions for setting up SSO connections with various Identity Providers (IdPs) in Stytch.

This guide provides step-by-step instructions for setting up SSO connections with various Identity Providers (IdPs) in Stytch. Use this to set up a test connection or collect required information from your customers to enable their SSO connections.

<Columns cols={3}>
  <Card title="Stytch Dashboard" icon="panels-top-left" href="https://stytch.com/dashboard/organizations">
    Manually create an SSO connection for an Organization in your Stytch Dashboard.
  </Card>

  <Card title="API" icon="code" href="/api-reference/b2b/api/sso/saml/create-saml-connection">
    Create an SSO Connection programmatically via API.
  </Card>

  <Card title="Admin Portal" icon="layout-dashboard" href="/api-reference/b2b/frontend-sdks/react/prebuilt-ui/admin-portal/sso">
    Enable your customers to add their own SSO connections with our pre-built UI.
  </Card>
</Columns>

## Generic SAML (most IdPs)

If you're configuring a SAML connection, you'll need to perform the following steps:

<Steps>
  <Step title="Before you begin">
    * Ensure you have your `organization_id` and a SAML connection created in Stytch.
    * Ensure you have admin access to your IdP.
  </Step>

  <Step title="Copy from Stytch">
    * `acs_url` and `audience_uri` from your SAML connection.
  </Step>

  <Step title="Configure in your IdP">
    Create an application in your IdP.

    * Enter the `acs_url` and `audience_uri` in their respective fields. Some IdPs call these SP SSO URL and SP Entity ID.
    * Set up attribute mapping so the IdP returns at least email and name fields. We recommend passing a unique identifier as well.
  </Step>

  <Step title="Copy from your IdP">
    * Metadata URL, **or**...
    * IdP SSO URL, IdP Entity ID, and X.509 Certificate.
  </Step>

  <Step title="Configure in Stytch">
    Configure your IdP metadata with Stytch using one of two ways.

    * If your IdP provides a metadata URL, add that via the Stytch Dashboard or the [Update SAML Connection by Metadata URL](/api-reference/b2b/api/sso/saml/update-saml-connection-by-metadata-url) route.
    * If your IdP does not provide a metadata URL, add the IdP SSO URL, IdP Entity ID, and X.509 certificate via the Stytch Dashboard or the [Update SAML Connection](/api-reference/b2b/api/sso/saml/update-saml-connection) route.

    Configure your attribute mapping in Stytch. Map the `email` field to the email, `first_name` to the first name, `last_name` to the last name, and `full_name` to the full name. You only need either `full_name` or both `first_name` and `last_name`. You can do this in the Dashboard or via [Update SAML Connection](/api-reference/b2b/api/sso/saml/update-saml-connection).

    Example attribute mapping:

    ```js theme={null}
    {
      "email": "NameID",
      "first_name": "firstName",
      "last_name": "lastName"
    }
    ```

    **Common pitfalls:**

    * NameID format mismatch -- if your IdP lets you configure a NameID, set it to the field with the user's email address.
    * Stale IdP metadata in Stytch.
    * Certificate paste errors -- if your IdP uses multiple certs, ensure the active signing cert is used.

    **Expected result:** Your SAML connection shows as Active in Stytch.
  </Step>
</Steps>

## Generic OIDC (most IdPs)

If you're configuring an OIDC connection, you'll need to perform the following steps:

<Steps>
  <Step title="Before you begin">
    * Ensure you have your `organization_id` and an OIDC connection created in Stytch.
    * Ensure you have admin access to your IdP.
  </Step>

  <Step title="Copy from Stytch">
    * `redirect_url` from your OIDC connection.
  </Step>

  <Step title="Configure in your IdP">
    Create a web application in your IdP.

    * Select Authorization Code as the grant type and add the Stytch `redirect_url` as a Sign-in Redirect URI.
    * Optionally add a Sign-out Redirect URI pointing to your app's logout handler.
  </Step>

  <Step title="Copy from your IdP">
    * Client ID and Secret, as well as your Issuer URL (generally this is your IdP hostname).
  </Step>

  <Step title="Configure in Stytch">
    Configure your IdP client with Stytch.

    * Add your Client ID, Secret, and Issuer URL via the Stytch Dashboard or the [Update OIDC Connection](/api-reference/b2b/api/sso/oidc/update-oidc-connection) route.

    **Common pitfalls:**

    * Redirect URI mismatch.
    * Using a discovery URL instead of the Issuer base URL.
    * Missing client secret.
    * Ensure Issuer is the exact issuer value your IdP expects.

    **Expected result:** Your OIDC connection shows as Active in Stytch.
  </Step>
</Steps>

## Okta SAML

If you don't already have an Okta admin account, the easiest way to do this is by creating an [Okta Workforce Identity Cloud Developer Edition](https://developer.okta.com/signup/) account. Once you're logged in to the Okta Admin Dashboard click **Create App Integration** in the **Applications** tab:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-create-app-integration.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=27af1fd27b147056947b6268281ff803" alt="View SAML setup instructions button in Okta" width="2212" height="1250" data-path="images/multi-tenant-auth/sso/okta-create-app-integration.png" />

Select **SAML 2.0** and continue to the **General Settings** form, enter the name of your application and (optionally) your application's logo.

In the **Configure SAML** form:

* Input the `acs_url` from your Stytch SSO Connection as the **Single sign-on URL**
* Input the `audience_uri` from your Stytch SSO Connection as the **Audience URI (SP Entity ID)**
* For **Name ID format** select **EmailAddress**
* For **Application username** select **Email**
* In **Attribute Statements** create three inputs:
  * Name: `firstName`; Name format: `Basic`; Value: `user.firstName`
  * Name: `lastName`; Name format: `Basic`; Value: `user.lastName`
  * Name: `id`; Name format: `Basic`; Value: `user.id`

Your configuration page should look like the following:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-saml-settings-config.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=49423074e0bd02929304cd10b5bccfc8" alt="Okta SAML Configuration" width="598" height="799" data-path="images/multi-tenant-auth/sso/okta-saml-settings-config.png" />

Save and continue, indicating that this is an internal application on the last screen.

Copy the **Metadata URL** from the Sign On Settings tab in your newly created Okta application.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-saml-get-metadata-url.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=c6f6a0d33686f773c4be0aa277dee50f" alt="Copy SAML Metadata URL in Okta" width="798" height="834" data-path="images/multi-tenant-auth/sso/okta-saml-get-metadata-url.png" />

In the Stytch Dashboard, click "configure" on your SSO Connection, and in the modal input the Metadata URL you just copied, and the following JSON for the Attribute Mapping.

```js theme={null}
{
    "email": "NameID",
    "first_name": "firstName",
    "last_name": "lastName",
    "idp_user_id": "id"
}
```

Click save. You should now see the SSO Connection as "Active". In the SSO Connections JIT Provisioning settings section above, select "Anyone" can JIT Provision through SSO Connections and save.

On the **Assignments** tab under your application in Okta, assign the application to team members who should have access to it by clicking **Assign**:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-assign.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=b5c6d9e8807ca1cfbb65c91fc25e2159" alt="Assign users button in Okta" width="2298" height="1174" data-path="images/multi-tenant-auth/sso/okta-assign.png" />

## Okta OIDC

If you don't already have an Okta admin account, the easiest way to do this is by creating an [Okta Workforce Identity Cloud Developer Edition](https://developer.okta.com/signup/) account. Once you're logged in to the Okta Admin Dashboard and click **Create App Integration** in the **Applications** tab:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-create-app-integration.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=27af1fd27b147056947b6268281ff803" alt="Create App Integration button in Okta" width="2212" height="1250" data-path="images/multi-tenant-auth/sso/okta-create-app-integration.png" />

Select **OIDC - OpenID Connect** and **Web Application**: <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-oidc-app-type.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=02969c43563a19819d9b2bfcb4176f48" alt="App type selection screen in Okta" width="2226" height="1394" data-path="images/multi-tenant-auth/sso/okta-oidc-app-type.png" />

Enter the name of your application and (optionally) your application's logo.

Under **Grant type**, select **Authorization Code**: <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-grant-type.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=1df8279b2db799c70a76186f6d8f3a4f" alt="Okta grant type selection" width="1178" height="348" data-path="images/multi-tenant-auth/sso/okta-grant-type.png" />

In the **Sign-in redirect URIs** section, add the `redirect_url` value from the Stytch connection object.

For the purposes of this guide, you do not need to add any **Sign-out redirect URIs**. In the future, you can (optionally) add a URI corresponding to a page in your application that logs the user out by [revoking their Stytch session](/api-reference/b2b/api/sessions/revoke-session).

Under **Controlled access**, select **Allow everyone in your organization to access** and **Enable immediate access with Federation Broker Mode** and save. You may change these settings later, if desired. <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-access-type.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=9d5563fe7556d37d11207cacc7f3b382" alt="Okta access type selection" width="1658" height="648" data-path="images/multi-tenant-auth/sso/okta-access-type.png" />

In the **General** tab of your newly created Okta application, locate the **Client ID** in the **Client Credentials** section and **Secret** in the **Client Secrets** section: <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/okta-client-secret.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=ea3fac02f72c6d0ab92ac734bd58d021" alt="Client ID and secret in Okta" width="2596" height="1514" data-path="images/multi-tenant-auth/sso/okta-client-secret.png" />

In the Stytch Dashboard, click "configure" on your SSO Connection and input the **Client ID** and **Secret** from above and set the Issuer value to your Okta instance URL. This URL should look like `https://dev-111111.okta.com` and is viewable in the top right hand corner drop down under your email address. You can alternatively call the [Update OIDC Connection](/api-reference/b2b/api/sso/oidc/update-oidc-connection) endpoint with the `client_id`, `client_secret` and `issuer` fields.

Click save. You should now see the SSO Connection as "Active". In the SSO Connections JIT Provisioning settings section above, select "Anyone" can JIT Provision through SSO Connections and save.

## Google Workspace SAML

Log into the [Google Workspace Admin Console](https://admin.google.com). Navigate to the **Web and mobile apps** tab under **Apps**: <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-apps-tab.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=224d9273d313251c33ac1977eb68bd1d" alt="Web and mobile apps tab in Google Workspace" width="2488" height="1324" data-path="images/multi-tenant-auth/sso/google-apps-tab.png" />

Select **Add custom SAML app** from the **Add app** dropdown: <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-add-saml-app.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=cd9d80589aecfbafffcd27f964202b7c" alt="Add custom SAML app button in Google Workspace" width="2488" height="1324" data-path="images/multi-tenant-auth/sso/google-add-saml-app.png" />

Enter the name of your application and (optionally) a description and your application's logo. Click **Continue**.

Copy the following information under **Option 2** and input into your Stytch SSO Connection by clicking "configure":

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-saml-config-info.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=54aa93836b354dcb46f24e05c98b97ee" alt="Google Workspace SAML IdP config information" width="968" height="848" data-path="images/multi-tenant-auth/sso/google-saml-config-info.png" />

* **IdP Entity ID**: the **Entity ID** from Google
* **IdP SSO URL**: the **SSO URL** from Google
* **X.509 certificate**: the **Certificate** from Google
* **Attribute Mapping**: input the below JSON:

```js theme={null}
{
    "email": "NameID",
    "first_name": "firstName",
    "last_name": "lastName"
}
```

Your Stytch SSO configuration view should look like the following:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-saml-config-in-stytch.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=ad69b5317f86233340ed96b33cddaa5d" alt="Stytch SSO Connection configured for Google" width="727" height="707" data-path="images/multi-tenant-auth/sso/google-saml-config-in-stytch.png" />

Click save. You should now see the SSO Connection as "Active". In the SSO Connections JIT Provisioning settings section above, select "Anyone" can JIT Provision through SSO Connections and save.

In the Google Admin Console, enter the following information from the Stytch SSO Connection into the **Service provider details** form and then click **Continue**:

* **ACS URL**: `acs_url` from the Stytch SSO Connection
* **Entity ID**: `audience_uri` from the Stytch SSO Connection
* **Name ID format**: EMAIL
* **Name ID**: Basic Information > Primary email
  <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-saml-sp-details.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=f7ce820b4e6d41f272af58bb0a7ffff5" alt="Google SAML service provider details" width="1000" height="733" data-path="images/multi-tenant-auth/sso/google-saml-sp-details.png" />

On the next screen add the following two **Attributes**:

* Google Directory attributes: First name; App attributes: `firstName`
* Google Directory attributes: Last name; App attributes: `lastName`

Click **Finish**.

Navigate to the **User access** page for your new Google Workspace app:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-user-access.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=65d87f542195be17b94e94fc93009afd" alt="User access page in Google Workspace" width="2594" height="1324" data-path="images/multi-tenant-auth/sso/google-user-access.png" />

Grant access to the Groups or Organizational Units of your choice. For the purposes of this guide, you can also simply set the **Service status** to **ON for everyone** in the **All users in this account** tab:

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/google-access-on.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=2869eca5cc087f3aa3066a55f9037dd4" alt="Service status toggle in Google Workspace" width="2594" height="1324" data-path="images/multi-tenant-auth/sso/google-access-on.png" />

## Microsoft Entra SAML

Log into Microsoft Entra Admin Center, navigate to Enterprise applications and select to create a new application.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-create-new-application.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=d5d968deb6912b135b1dc597bbc0ecab" alt="Create new Entra application" width="2267" height="969" data-path="images/multi-tenant-auth/sso/entra-create-new-application.png" />

Select create your own application at the top.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-create-own-app.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=fe3b2205953f0de142c00ce85d928d04" alt="Create custom Entra application" width="1691" height="577" data-path="images/multi-tenant-auth/sso/entra-create-own-app.png" />

Name your application and select **Integrate any other application you don't find in the gallery (Non-gallery)** and then click **Create**.

Once your application is created, navigate to the Single Sign-On setup page and select SAML.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-setup-sso.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=bb56be7b2b9919d9862569c76a5a990b" alt="Setup SSO for Entra application" width="2057" height="1029" data-path="images/multi-tenant-auth/sso/entra-setup-sso.png" />

Click Edit on **Basic SAML Configuration** and add the following values from the SSO Connection you created in Stytch:

* **Identifier (Entity ID):** the Audience URI from your Stytch SSO Connection
* **Reply URL (Assertion Consumer Service URL):** the ACS URL from your Stytch SSO Connection
  <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-basic-saml-config.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=3e2d8120b39c1d70bff0fd73a42ededc" alt="Entra Basic SAML Configuration" width="855" height="941" data-path="images/multi-tenant-auth/sso/entra-basic-saml-config.png" />

Leave the other values blank and click **Save**.

Next, edit the **Attributes & Claims** section. Click on the **Unique User Identifier (Name ID)** under Required Claim, and change the Source attribute to use **user.primaryauthoritativeemail**

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-edit-nameid-claim.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=19160a79a05d871b8dfae8a65822175c" alt="Entra edit NameID claim to use primary authoritative email" width="1590" height="558" data-path="images/multi-tenant-auth/sso/entra-edit-nameid-claim.png" />

Under Additional claims, delete the preconfigured options and create the following three claims:

* Claim Name: **firstName** Value: **user.givenname**
* Claim Name: **lastName** Value: **user.surname**
* Claim Name: **id** Value: **user.objectid**

Click **Save**.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-attributes-and-claims.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=bac37d5a79558122f5c058ef85839a4c" alt="Entra final Attributes & Claims" width="1726" height="982" data-path="images/multi-tenant-auth/sso/entra-attributes-and-claims.png" />

In the Stytch Dashboard (or with the UpdateSAMLConnection API) click "configure" on your SSO Connection and set the Metadata URL as the **App Federation Metadata Url** from the SAML Certificates section in your Entra app.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-saml-metadata-url.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=9dd6a32e554434febeb16f4298fd9b7a" alt="Entra SAML Metadata URL" width="1557" height="1075" data-path="images/multi-tenant-auth/sso/entra-saml-metadata-url.png" />

For Attribute Mapping on your Stytch SSO Connection set the following JSON:

```js theme={null}
{
  "email": "NameID",
  "first_name": "firstName",
  "last_name": "lastName",
  "idp_user_id": "id"
}
```

Click save on your Stytch SSO Connection, and you should now see the status as "Active". In the SSO Connections JIT Provisioning settings section above, select "Anyone" can JIT Provision through SSO Connections and save.

The last step is to add users to your application in Entra, which you can do by navigating to **Users and groups** and selecting "Add user/group".

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-add-users-and-groups.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=3465e851501c6168473d094630114f65" alt="Entra add users to SAML app" width="1553" height="544" data-path="images/multi-tenant-auth/sso/entra-add-users-and-groups.png" />

## Microsoft Entra OIDC

Log into Microsoft Entra Admin Center, navigate to **App registrations** and select to create a New registration

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-app-registrations.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=0cb7b30402f4a24aff7a95d872cafc29" alt="Entra OIDC create new registration" width="1595" height="649" data-path="images/multi-tenant-auth/sso/entra-oidc-app-registrations.png" />

Input a name and select **Accounts in this organizational directory only** for Supported account types and click Register

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-register-app.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=776ed948b065d43142aca3735c0efb1c" alt="Entra OIDC register your application" width="863" height="715" data-path="images/multi-tenant-auth/sso/entra-oidc-register-app.png" />

Navigate to the Authentication section and select "Add a platform" under Platform configurations

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-auth-setup.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=1f2c94bdc27382a97baf8649beff63a0" alt="Entra OIDC add platform config in authentication setup" width="1196" height="891" data-path="images/multi-tenant-auth/sso/entra-oidc-auth-setup.png" />

Select web and input the Redirect URI from the Stytch SSO Connection you created earlier. Leave the rest blank and click "Configure"

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-configure-redirect-uri.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=ef0b2e80a8b1136770007bafb458fdf8" alt="Entra OIDC configure Redirect URL" width="583" height="640" data-path="images/multi-tenant-auth/sso/entra-oidc-configure-redirect-uri.png" />

Navigate to Certificates & secrets and select "New client secret". Enter a description of your new secret key, select your desired secret expiration length, and click Add.

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-new-client-secret.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=35ef7db3b50e4d9d1a083dda78fa70ce" alt="Entra OIDC create new client secret" width="1406" height="725" data-path="images/multi-tenant-auth/sso/entra-oidc-new-client-secret.png" />

In the Stytch Dashboard, click "configure" on your SSO Connection and input the secret value as the Client Secret in Stytch

<img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-secret-value.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=82755ca10674d0f6319b144244b777f2" alt="Entra OIDC get secret value" width="1432" height="721" data-path="images/multi-tenant-auth/sso/entra-oidc-secret-value.png" />

For Client ID and Issuer, navigate back to the Entra Overview section and copy over the following values into the Stytch OIDC Connection you are configuring:

* **Client ID** in Stytch: set to the **Application (client) ID** from Entra
* **Issuer** in Stytch: set to URL format `https://login.microsoftonline.com/<YOUR_DIRECTORY_ID>/v2.0` where `<YOUR_DIRECTORY_ID>` is replaced with the **Directory (tenant) ID** from the Overview section
  <img src="https://mintcdn.com/stytch-34ca0595/KoFK6_4cd0s5103l/images/multi-tenant-auth/sso/entra-oidc-client-id-and-issuer.png?fit=max&auto=format&n=KoFK6_4cd0s5103l&q=85&s=499f02da8f0aee236a36351eb948935d" alt="Entra OIDC get ClientID and Issuer" width="975" height="588" data-path="images/multi-tenant-auth/sso/entra-oidc-client-id-and-issuer.png" />

Click save. You should now see the SSO Connection as "Active". In the SSO Connections JIT Provisioning settings section above, select "Anyone" can JIT Provision through SSO Connections and save.
