Forgot password wizard

Problem statement

We use the universal login form. When clicking on forgot password form, it asks to enter the username instead of the email. But some users do not remember their usernames. How can we change this behavior?

Steps to Reproduce

In the database connection settings, enable “Require Username” and save the change. On the login page, click on “Forgot Password”.

Solution

The user can enter their email and click on Continue to receive the forgot password email. To avoid confusion, you can customize the Change Password Wizard by sending a PUT request to the Auth0 Management API endpoint.

https://{{auth0_domain}}/api/v2/prompts/reset-password/custom-text/en

with the body script:

{
    "reset-password-request":{
        "descriptionUsername":"Enter your email address and we will send you instructions to reset your password",
        "placeholderUsername":"Email Address"
    }

}