User's Display Name Does Not Have a Value
Last Updated:
Overview
Applies To
- Universal Directory
- Provisioning
- Okta Expression Language (OEL)
Cause
If user.displayName has never been modified, Okta will automatically concatenate "firstName {space} lastName" in any downstream mapping, even if the displayName attribute appears to be blank on the Okta User Profile. This includes API Calls made to GET User.
If admins attempt to set the User Profile back to blank, they cannot set this back to a true NULL value, so, therefore, Okta tries to send a blank value.
Solution
Admins can change the appropriate mapping to something similar to user.firstName + user.lastName for the desired attribute in the app.
Related References
- For more info regarding mappings, check our Okta Expression Language documentation.
