<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
0D54z00007L5JIBCA3Okta Classic EngineSingle Sign-OnAnswered2023-10-16T17:02:54.000Z2021-12-14T20:55:35.000Z2021-12-16T16:48:25.000Z

OktaA.62626 (Customer) asked a question.

Okta Expression Language: Replace entire email including domain

I am trying to configure some applications where "Administrator sets username, user sets password". I'd like to be able to use a username that is an email which isn't assigned to any user. I was hoping I could just manually enter the username but it looks like I have to use Okta Expression Language to convert the users email into the desired username using the Custom Application username format.

 

What is the best way to go about this?

 

/help/servlet/rtaImage?refid=0EM4z0000028uF5

 


  • Hello @OktaA.62626 (Customer)​ 

    I hope you are having a great day

     

    you can click in the drop-down menu and this will display more options for you like "Okta username" which allows you to use the Okta username.

     

    If you want to create a custom username then you can check and use the examples listed in the link below:

    https://developer.okta.com/docs/reference/okta-expression-language/#string-functions

     

    Please let us know if this was useful and allow you to solve your problem. 

     

    Have a great day ahead

    Regards

     

    Henry Esquivel 

    Okta Inc

     

    Expand Post
  • OktaA.62626 (Customer)

    Hi Henry,

     

    Thanks for the response. Unfortunately, the username that needs to be entered does not match their Okta username. It is not any user's email address or username. It isn't related to that user at all. All of the users need to be able to use this unrelated username to log into the website though.

     

    The reason I don't want to use "Admin sets username and password" is that I don't want to manage the password. I want the users to be able to update it. This isn't for every app, just a select few I don't want to keep track of.

     

     

    Expand Post
This question is closed.
Loading
Okta Expression Language: Replace entire email including domain