Need to create users in 'Username-Password-Authentication' through mgmt API without supplying password

When I attempt to create users through the management API without supplying a password I get status 400 with error message “password is required”.

The users created in this way are not necessarily known to the admin who is entering the details. I want the new user to receive a ‘Set up your account’ email from Auth0 which includes them choosing their password the first time they log in. How do I do this?

Hi @rickh

Create the user with a random string for a password (and do not store the password anywhere).
Then send them a welcome email with a password reset link.

John

1 Like