0D54z00008po1GgCAIOkta Classic EngineSingle Sign-OnAnswered2024-04-03T16:09:08.000Z2023-02-27T12:24:18.000Z2023-02-27T21:58:38.000Z

ChetanaS.64037 (Customer) asked a question.

How To Populating The Username Field On The Okta Login Page if we pass in url query string OKTA[SAML2.0]?

Hello Okta Team,

Here we know the email address/username before the okta login page, so can we populate the email address in Username field in login page, if we send that emailaddress/username in okta login page link?


  • MatthewH.10249 (State of Iowa)

    I do not believe you can if you are using the Okta Hosted Widget but should have be able to if you host the Widget in your app or have a totally custom login page.

     

    If you wanted to try to pass something to the Okta Hosted Widget you would have to add JS to capture the passed in value and inject to the form. You would do this in the customizations login editor in the Admin Dashboard.

     

    I've played with adding JS logic to redirect users to the create account and forgot password views as examples and had limited success. Any gains by doing either came at a cost in other functionality that was just not worth it.

     

    Good luck and please comment back as to what you end up doing so others can gain from your experience.

    Expand Post
This question is closed.

Recommended content

No recommended content found...