Customize Change Password Wizard for New Universal Login

Problem statement

I’m using the New Universal Login Experience. When clicking on forgot password form, the change password wizard asks to enter the username, but I would like it to ask for email instead.

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 or username to receive the Change Password email. You can customize the Change Password Wizard by:

Send 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"
    }

}
1 Like