<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
0D54z000084mlWBCAYOkta Classic EngineAdministrationAnswered2024-09-16T09:02:25.000Z2022-09-12T21:03:48.000Z2022-09-13T20:43:29.000Z

7aydp (7aydp) asked a question.

Okta Expression Language - Update Okta Attribute Based on Other Okta Attributes

Currently, most of our attributes are mapped from our on-premise Active Directory. However, we have a scenario in which we would like to update an Okta attribute with an expression based on existing attributes. For example, we would like a custom Okta attribute called "fullName" to pull the Okta user first name and last name together. Documentation seems to all reference mapping from other apps, not within Okta itself.


  • Mihai N. (Okta, Inc.)

    Hi @7aydp (7aydp)​ , Thank you for reaching out to the Okta Community!

     

    The attribute mapping feature can only be used to map attributes from AD (or other apps)to Okta

     

    example for your use case: 

    appuser.firstName + " " + appuser.lastName

     

    OR 

     

    from Okta to downstream apps

     

    example for your use case: 

    user.firstName + " " + user.lastName

     

    but not from Okta to itself. 

     

    Both way of using mapping should ultimately satisfy the need to use that value, but I may be misunderstanding your use case/requirement. 

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

    --------------------------------

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Expand Post
This question is closed.
Loading
Okta Expression Language - Update Okta Attribute Based on Other Okta Attributes