Last updated: Nov 4th, 2024
Overview
When using the Universal Login form and selecting Forgot Password, the form prompts the user to enter a username. This article describes how to customize the Change Password Wizard to ask for an email address or username.
- In the Database connection settings, Require Username is enabled.
Applies To
- Forgot Password
- Change Wizard Password
- Universal Login
- Management API
Solution
The user can enter their email or username to receive the Change Password email. The Change Password Wizard by sending a PUT request to the following 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"
}
}