Hi @jeff.qiu,
Welcome to the Auth0 Community!
Thank you for posting your question; unfortunately, Universal Login does not currently handle passwordless and database connections out of the box. Our engineering team is planning to release a new feature this year to add the possibility of logging in to the user passwordless from the database connection. I don’t know the ETA for the Early Access to this feature, but I will make sure to give you heads up when I will have more information about that.
Regarding what you can achieve right now is to use the Classic Universal Login or force the Auth0 to use a specific connection.
Classic Universal Login Knowledge Solution → How to use Passwordless, Database and Social connections in the same classic universal login page
For the second option, you pass the “connection” parameter when calling Auth0 so that the Universal login prompt will know which connection to use in advance.
For example, you can add the parameter “connection=sms” to the /authorize request, and the new universal login will use SMS otp passwordless in those attempts. Alternatively, you may also send a “password” connection to the /authorize request. This approach would require you to know in advance (before calling auth0) which connection the user wants to use.
Thanks
Dawid