<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
0D54z00008mBfmCCASOkta Identity EngineUniversal DirectoryAnswered2025-09-13T09:01:51.000Z2023-02-07T03:19:08.000Z2023-02-08T00:10:07.000Z

541f8 (541f8) asked a question.

How to combine 2 attributes into 1 custom attribute using Express language

Basically i would like to combine firstName + lastName into a custom attribute called fullName

then i would like to map the custom fullName attribute to displayName attribute in an application.

 

i know i can use OKTA expression language

 

user.firstName + "." + user.lastName in the applications mappings. but i want to see if its possible to just use the custom variable name like so:

 

user.fullName mapping to displayName attribute in the actual application.

 

any help would be appreciated


  • a0n5s (a0n5s)

    What is you master user profile? AD/LDAP or Okta? we set up Okta use sync from AD. in the application we can reference AD/LDAP direct like active_directory.firstName + "." + active_directory. lastName. I suggest not store duplicate data.

  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @541f8 (541f8)​ 

     

    Thank you for posting on our Community page!

     

    This mapping is not supported in the form you described. The solution is the expression you detailed in your message, combining two attributes.

     

    Should you want to raise this as a feature request, you can do it on our ideas.okta.com page.

     

    Hope this helps.

     

    Thank you for reaching out to our Community and have a great day!

     

    _____________________________________________________________________________

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    _____________________________________________________________________________

    Expand Post
This question is closed.
Loading
How to combine 2 attributes into 1 custom attribute using Express language