Last Updated: Sep 27, 2024
Overview
This article explains how to Customize the text of the error prompts. For example, the error displayed when entering incorrect user credentials in the Universal Login.
Applies To
- Customize Error Prompts
- Universal Login
Solution
The New Universal Login templates can be customized via the Auth0 Management API.
To Set custom text for a specific prompt, make a PUT request to the following endpoint:
The following example changes the error message displayed when the wrong credentials are entered:
{
"login":{
"wrong-credentials":"You have entered wrong email/password, please try again"
}
}
To revert the change, please send the same request with empty body scripts.
{
}