<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
0D51Y00006eqAnySAEOkta Classic EngineUniversal DirectoryAnswered2024-04-15T09:21:43.000Z2019-09-13T13:05:08.000Z2019-09-17T22:35:16.000Z

ulazx (ulazx) asked a question.

What is the custom expression that I can use for username format for Okta Username?

I know there is a default option for username format for Okta Username but I want to have it as a custom format since when a user has a name change it will auto update rather than me going to the app and manually changing the name.


  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Thank you, for posting on our community page!

     

    In order to have the user name change automatically you have to go to the application and see if it has provisioning. If it does, then under Sign On options you will have an "Update application username" which can be set to "Create only". This will only update the users if they are assigned and then re-assigned to the application.

     

    If "Update application username" is set to "Create update" then this will update the users automatically. You could use any Expression Language that fits you best but here is an example which you can use:

     

    substringBefore(user.login, '@')+"@domain.com"

     

    If you require assistance on setting this up feel free to open a case with us and an engineer will be assigned to help you.

     

    Thank you,

    Flaviu Vrinceanu

    Technical Support Engineer | Okta

     

    Expand Post
    Selected as Best
  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Thank you, for posting on our community page!

     

    In order to have the user name change automatically you have to go to the application and see if it has provisioning. If it does, then under Sign On options you will have an "Update application username" which can be set to "Create only". This will only update the users if they are assigned and then re-assigned to the application.

     

    If "Update application username" is set to "Create update" then this will update the users automatically. You could use any Expression Language that fits you best but here is an example which you can use:

     

    substringBefore(user.login, '@')+"@domain.com"

     

    If you require assistance on setting this up feel free to open a case with us and an engineer will be assigned to help you.

     

    Thank you,

    Flaviu Vrinceanu

    Technical Support Engineer | Okta

     

    Expand Post
    Selected as Best
This question is closed.
Loading
What is the custom expression that I can use for username format for Okta Username?