Can't set two login options: (1) passwordless (2) email & pass

I auth0 dashboard, in my app → connections, the two connections: Database & Email (passwordless) are enabled.
In my react I want to give my users two options to login: (1) passwordless (2) email & pass
so I use both:
loginWithRedirect({ connection: “email” })
loginWithRedirect({connection: “Username-Password-Authentication” })
but it ignores passwordless login, and show for both same email&pass login.
only if I disable “Database” in auth0 dashboard I can use passwordless login, but then only passwordless login.
how can I give my users both options ?

1 Like

Hi @haimsch,

Welcome to the Auth0 Community!

This isn’t supported in New Universal Login, but you can find a workaround with custom logins here: How to use Passwordless, Database and Social connections in the same classic universal login page

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