POST
call. In the email
field, provide the email address of the user who needs to change their password. If the call is successful, the user receives a password reset email.
If you call the API from the browser, be sure the origin URL is allowed:
Go to Auth0 Dashboard > Applications > Applications, and add the URL to the Allowed Origins (CORS) list.
If your connection is a custom database, check to see if the user exists in the database before you invoke the Authentication API for changePassword
.
PATCH
call to the Update a User endpoint.