---
title: "OpenID Connect Configuration Wizard"
description: "Configure an OpenID Connect authentication connector with the Configuration Wizard, from client setup to ID mapping."
keywords:
  - OpenID Connect
  - Configuration Wizard
  - Configure Client
  - Test Login
  - Configure Id Mapping
  - Get User Data
  - Okta
sidebar_position: 20
---

# OpenID Connect Configuration Wizard

The OpenID Connect Configuration wizard is opened with the **Configuration Wizard** button in the
Configuration > [Authentication Page](/docs/privilegesecure/25.12/admin/configuration/authentication/authentication.md) for an OpenID Connect
Authentication Connector Type.

![Configure Client page of the OpenID Connect wizard](/images/privilegesecure/25.12/accessmanagement/admin/configuration/wizard/configureclient.webp)

It contains three pages:

- Configure Client
- Test Login
- Configure Id Mapping

## Configure OpenID Connect authentication connector

To verify the OpenID Connect configuration:

1. Navigate to the **Configuration** > **Authentication** page.
2. In the Connectors list, select the applicable authentication connector and click
   **Configuration Wizard**.
3. On the Configure Client page, enter the following information:

   - **Issuer** — The OpenId Connect provider issuer URI. Out-going redirection requires the correct
     “Issuer” path to be set. Incorrect settings will generally result in a 404 error.
   - **Client Id** — The OpenId Connect provider application Id for Privilege Secure
   - **Callback Address** — The OpenID Connect provider requires the Privilege Secure callback path to be
     authorized. Generally this displays by the provider after redirection. Enter the address and
     port of the Privilege Secure server:

     `[protocol]//[hostname]:[port]/callback`

   - **CORS** — The OpenID Connect provider requires the Privilege Secure callback location to be
     configured for CORS. This will either be displayed by the provider after redirection, or a 500
     error is returned. If an error is returned, CORS isn't configured with the correct
     information. Enter the address and port of the Privilege Secure server:

     `[protocol]//[hostname]:[port]`

   :::warning
   In the next step, verify that the Sign In page displays as expected, but don't sign in
   at this step.
   :::

4. Click **Test Connection** to verify the connection configuration. This opens the Sign In
   page in the browser. Don't sign in.

   - If the Sign In page doesn't display as expected, review the values configured for the OpenID
     Connect connector and modify them where needed. Then, verify the Sign In page again.

   :::note
   When configuring OpenID Connect for Okta, ensure that the Grant
   type in Okta is set to Implicit (hybrid) and the sub-settings Allow ID Token with implicit grant
   type and Allow Access Token with implicit grant type are both enabled.
   :::

5. Click the browser’s back arrow to return to the Configure Client wizard page.
6. If the Sign In page displayed as expected, click **Next**.

   ![OpenID Connection wizard, Test Login page](/images/privilegesecure/25.12/accessmanagement/admin/configuration/wizard/chapter_4_configuration_interface_5.webp)

7. On the Test Login page, click **Login**. The Sign In page opens in the browser.
8. Enter valid credentials for the OpenID Connect provider and sign in.
9. If the sign in was successful, the generated access token displays. This is passed
   to the UserTokenController so that the user information can be extracted. Click **Next**.
10. On the Configure ID Mapping page, click **Get User Data**.

    ![Configure ID Mapping page with the Get User Data button](/images/privilegesecure/25.12/accessmanagement/admin/configuration/wizard/chapter_4_configuration_interface_6.webp)

    Privilege Secure will use the access token to retrieve user data from the OpenId Connect provider.
    The OpenID Connect provider requires a User Id Field for sign in. Specify which
    field in Active Directory should map to that User Id Field, so that Privilege Secure can
    automatically fill in the required credentials at login. The value used to sign in to
    the multi factor authenticator (MFA) when a user logs in to the Privilege Secure Console.

    To connect a user from the OpenID Connect provider to a user in the Privilege Secure copy
    of the AD data, map a field in the provider list to a field in the Privilege
    Secure host user table. The exact fields to map will vary between providers and according to the
    user’s AD configuration.

    The table displays the retrieved data that is useful for the host user lookup. The user must
    select from the displayed records a field that corresponds to a value in their AD configuration. For
    example, if the AD data contains email addresses, they can select any of the fields which contain
    email addresses.

    Field values will vary according to the information supplied by the provider. Example Values come
    from the provider and will vary:

    - **Source** — There are three ways to extract the data, depending on the provider and the application
      configuration in the provider (unfortunately, there is no consistency in how the data is
      formatted):
      - **Introspection Endpoint** — (Preferred) Not supported by all providers. Also validates the
        token.
      - **UserInfo Endpoint** — Microsoft Entra ID has two User Info endpoints which return slightly
        different data sets (be sure to check both). Some providers require authorization for this
        endpoint. May otherwise validate the token.
      - **Token parsing** — (Least preferred) The access token contains claims which include some user
        information. This is the least secure method since the token is received indirectly. This
        option shouldn't be used unless all other options have failed.
    - **Field** — Shows the possible fields used by the OpenID Connect provider detected by Privilege
      Secure.
    - **Example Value** — Shows an example value for the field based on the login credentials provided in
      the previous step. This is the format of the value used to sign in to the MFA
      during log in.

    :::note
    These aren't the credentials you use during the login process; only an
    example of the format of those credentials. The actual credentials are unique to each user
    and each user sets them up during the MFA registration process for that user.
    :::

11. Select a field to use for the User Id Field and click **Select**.

    ![Retrieved user data table for selecting the User Id Field](/images/privilegesecure/25.12/accessmanagement/admin/configuration/wizard/chapter_4_configuration_interface_7.webp)

12. The selected Source and User ID fields from the previous table are shown. Now map the
    applicable AD field to the User Id Field. This is the value used to sign in to the MFA
    during login. In the **Login Format** dropdown, select the applicable AD field to map to the User Id
    Field.
13. Click **Finish**. A window displays the updated configuration settings.

    ![Wizard summary of the updated configuration settings](/images/privilegesecure/25.12/accessmanagement/admin/configuration/wizard/chapter_4_configuration_interface_8.webp)

14. Click **Okay** to close the wizard and click **Save** on the Authentication page to accept
    the changes.

The Authentication Connector is configured and added to the Connectors list.
