
mz3z2 (mz3z2) asked a question.
Hi all,
I am trying to either A. Change the default locale from Okta to Slack provisioning to en_UK as it is en_US at at present or B. Allow users to update their profile from their user dashboard by enabling locale as read write.
So far I have noted that it is just a string (text box) for end user driven (also trying to do this for time zone) we are happy that this could spread across to other SSO apps.
As seen below I can't see a way to change it in attributes under Slack, so would I need to create a custom attrb for this?

Hello Dean !
Thank you for posting on our community forums.
There are several ways to do this as this relies on the locale attribute of the Okta Profile.
If this value is consistent (EN_US) across all users, you can just map a fixed value (en_UK) to the Slack locale attribute using the Profile Editor.
Alternatively, you can change the user's locale from the profile source.
Another option would be to use the Profile editor, and map the expression below for Slack's locale
user.locale == "en_US" ? "en_UK" : user.locale
HI Catalin,
Thanks for your reply.
I used the third method - user.locale == "en_US" ? "en_UK" : user.locale and it worked perfectly.
Many thanks,
Dean