<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
0D54z00008U2jZ4CAJOkta Classic EngineAPI Access ManagementAnswered2025-09-13T09:01:51.000Z2022-12-01T12:04:59.000Z2022-12-14T19:10:26.000Z
  • DonF.81354 (Customer)

    I see that your question is tagged "API Access Management" and as such, I am interpreting your request as being a custom claim needed in your access/id token.

     

    You can add this custom claim, specifying the exact value/attribute you want using the Okta Expression Language, in the below article:

     

    Customize tokens returned from Okta with custom claims

     

    Search for "Add a custom claim to a token" and it will walk you through step by step for API access management and creation of a custom claim.

     

    Please use the Token Preview tab to verify that you see the custom claim value. Thanks!

     

    Expand Post
    Selected as Best
  • a0n5s (a0n5s)

    you can reference by expression in the profile mapping for the attribute like:

    active_directory == null ? substringBefore(user.login,'@') : active_directory.samAccountName

  • DonF.81354 (Customer)

    I see that your question is tagged "API Access Management" and as such, I am interpreting your request as being a custom claim needed in your access/id token.

     

    You can add this custom claim, specifying the exact value/attribute you want using the Okta Expression Language, in the below article:

     

    Customize tokens returned from Okta with custom claims

     

    Search for "Add a custom claim to a token" and it will walk you through step by step for API access management and creation of a custom claim.

     

    Please use the Token Preview tab to verify that you see the custom claim value. Thanks!

     

    Expand Post
    Selected as Best
This question is closed.
Loading
SAM Account Name