
User17207166989367237069 (Customer) asked a question.
How to combine 2 attributes into a new custom attribute in user.default?
Basically what I'm trying to do is
1. To create a custom attribute 'fullName' with the value of firstname & lastname ('user.firstName+user.lastName'.)
2. This 'fullName' attribute will then be mapped to another attribute 'displayName' in an application.
I am aware of the application mappings , but I'm not sure how to go about the part 1 or if that is possible or not.
Any response is much appreciated. Thank you

Hi @User17207166989367237069 (Customer) , Thank you for reaching out to the Okta Community!
This is not supported.
Attributes can only be mapped from Okta user profile to App user profile or vice versa, not from Okta to Okta.
If you need to push the specific value to the downstream app, you can leverage syntax directly ( user.firstName + " " + user.lastName ) in the mappings, you don't need to create a dedicated attribute for it in Okta unless you plan on manually populating the value or importing it from an outside source.
Other popular Okta Expression Language syntaxes can be found here.
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!
--
Help others in the community by liking or hitting Select as Best if this response helped you.