How can I totally disable the OTP email when creating new passwordless user using the management api?
I am trying to create a passwordless identity connection for all my existing users in the Username-Password-Database so that we can use Passwordless login in our app.
I have tested this myself and was unable to reproduce the same behavior you encountered. When I created a passwordless email user with the Management API, I did not receive a login OTP code. Instead, I only received a welcome email.
As mentioned in our Passwordless Connections documentation, you must provide an email address to receive an OTP or magic link via email. This is referring to logging in through the login page.
If you decide to send an OTP code to your users conditionally, you can call the POST /passwordless/start endpoint.
Ok, I think we are talking about the same email. Regardless of whether it is an OTP or “welcome email”, I do not want Auth0 to deliver ANY emails when I create the user via the management API. The verify_email: false flag works in the typical user create endpoint, but with passwordless it will sent the OTP email template. This OTP template “welcomes” the user based on some liquid syntax. There is no way I could find to disable it.
There are a million little issues with Auth0 like this, and this was the final straw. The poor developer experience caused our company to drop Auth0 completely this week. Goodbye