# Use login\_hint but do not auto submit passwordless form

**URL:** <https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [May 17, 2023, 2:36pm UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166 "2023-05-17T14:36:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodney](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rodney/32/47299_2.png) [@rodney](https://community.auth0.com/u/rodney)\
**Post date:** [May 17, 2023, 2:36pm UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166/1 "2023-05-17T14:36:23Z")

</div>

We are using login\_hint to populate a users email from local storage but the passwordless login form is auto submitting. Is there a way to continue to use login\_hint without auto submitting a passwordless form to allow a user to modify their email address (if needed) and manually submit the form? Thanks!

---

<div class="post-metadata">

**Author:** ![rodney](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rodney/32/47299_2.png) [@rodney](https://community.auth0.com/u/rodney)\
**Post date:** [May 17, 2023, 4:34pm UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166/2 "2023-05-17T16:34:02Z")

</div>

Update: I’ve tried a custom template and used this but still no joy, I have also tried to set the email input value by id, name etc etc:

var options = {  
prefill: {  
email: “[someone@somewhere.com](mailto:someone@somewhere.com)”  
}  
};

---

<div class="post-metadata">

**Author:** ![mark28](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mark28/32/71118_2.png) [@mark28](https://community.auth0.com/u/mark28)\
**Post date:** [May 24, 2023, 9:02am UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166/3 "2023-05-24T09:02:09Z")

</div>

We are also seeing problems with this.  
When our users log out they are redirected to the login page so that they can log back in if they would like to. When we use login\_hint this makes the login page automatically send the passcode. So our users logout and then immediately get a passcode to log back in, which is bad UX for them.

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 31, 2023, 3:31pm UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166/6 "2023-05-31T15:31:27Z")

</div>

@rodney @mark28 Hey there, welcome to Auth0!

I can confirm that for the New Universal Login and the Authorization Profile set to Identifier First (and only the passwordless connection enabled for the client app)  
the expected behaviour of using the login\_hint parameter in the  
`/authorize?` request is receiving already the second prompt in the flow, so the one to provide a code/link received via the specified in the hint (the last used to log in) email address.

But on the other hand, I wonder if maybe using this parameter is kind of unwanted redundancy?

When I tested the flow just in my browser for a dummy web app registered in auth0 tenant with this request:

`1. GET https://dev-lab-mb.eu.auth0.com/authorize?client_id=uUov3mCpjEnSejZPSCZ9btF3VW1wyowy&connection=email&response_type=code&response_mode=query&state=…&redirect_uri=https://google.com`

I got this as a response:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/4/1/4132a54e4f136f12b006f20f7be5177c9b0c5878.png)

The email field got prefilled with the one I used the last time to log in + when clicking on the email field I got a list of all email addresses used in the past. It comes form google. The form hasn’t been autosubmitted.

Alternatively, you can experiment with another OIDC supported parameter:  
`?prompt=select_account` - I verified that it doesn’t change the flow and return the first prompt (to choose an email).

More info on OIDC compliant parameters and its implementation [here](https://openid.net/specs/openid-connect-basic-1_0.html).

---

<div class="post-metadata">

**Author:** ![rodney](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rodney/32/47299_2.png) [@rodney](https://community.auth0.com/u/rodney)\
**Post date:** [May 31, 2023, 3:39pm UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166/7 "2023-05-31T15:39:46Z")

</div>

I will give the **prompt=select\_account** parameter a try and report back, thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 14, 2023, 3:40pm UTC](https://community.auth0.com/t/use-login-hint-but-do-not-auto-submit-passwordless-form/107166/8 "2023-06-14T15:40:12Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
