You can specify login_hint: “signUp” from the frontend if you want. My point was that there are other situations where you might want to set the login_hint to email . So you might want to do something like this:
this.loginScreen.authorize({
login_hint: "signUp"
})
var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
initialScreen: 'login_hint' in config.extraParams && config.extraParams.login_hint === 'signUp' ? 'signUp' : undefined,
...
If login_hint is set to an email address, you can use that email address to initialize lock. Checkout the prefill
option here: GitHub - auth0/lock: Auth0's signin solution