<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Configure Custom Username Attributes for Okta OIDC Identity Provider Integrations

API Access Management
Okta Classic Engine
Okta Identity Engine

Overview

In an OpenID Connect (OIDC) Identity Provider (IdP) integration, Okta can use an attribute as the IdP username format only if the source org explicitly includes that attribute in the OIDC assertion. Administrators must configure the source IdP to include the custom attribute in the OIDC assertion, and then map it to the login attribute in the target Okta org.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • OpenID Connect (OIDC) Identity Provider (IdP)

Solution

NOTE: The exact steps for this configuration vary depending on the third-party IdP. If using an Okta-to-Okta (Org2Org) integration as the source, follow the example steps in the next section.

Configure the custom attribute in the source Okta organization

As an example for an Okta-to-Okta (Org2Org) integration, create a custom attribute in the source Okta organization and map it to a base attribute.

  1. Create a custom attribute for the User (default) Okta profile.
  2. Go to Profile Editor.
  3. Select Apps.
  4. Select the application.
  5. Select Mappings.
  6. Select the Okta User to App tab.
  7. Map the attribute to a base attribute.

Review the Okta User to App tab configuration.

Okta User to App tab

 

Map the custom attribute in the target Okta organization

Map the custom attribute to the login attribute in the target Okta organization.

  1. Go to Profile Editor.
  2. Select Identity Providers.
  3. Select the Identity Provider.
  4. Select Mappings.
  5. Select the IdP to Okta User tab.
  6. Map the custom attribute to login.

Review the IdP to Okta User tab configuration and the final result.

IdP to Okta User tab

 

final result
 
 

Related References

Loading
Configure Custom Username Attributes for Okta OIDC Identity Provider Integrations | Okta Support