Auth0 selects passwordsless automatically when passing a login_hint parameter

Hello,

we are redirecting the user to the login page using:

return webAuth.authorize({
            audience: config.public.auth0Audience,
            redirectUri: redirectTo,
            login_hint: email,
        })

This redirects the user to a screen where the user is automatically within the passwordless login flow

Removing the “login_hint” parameter leads to the universal login screen where i can see the email input field as well as the google login option.

This is the version that we want but with a prefilled email address.

But as soon as we pass the login_hint parameter the user gets thrown into the passwordless flow automatically.

Any idea?

Hi There!

Welcome to the Auth0 Community!

Thank you for posting your question. Based on our knowledge solution, you should be able to achieve your goal by adding the additional parameter screen_hint=signup to your /authorize call → https://auth0.com/docs/authenticate/login/auth0-universal-login/universal-login-vs-classic-login/universal-experience#signup

You can also check this Knowledge Article → Login_hint Behavior with Identifier First Flow and Additional Signup Fields

Thanks
Dawid