Customizing Text for New Universal Login

Hello. I am using a custom login form with the New Universal Login flow and I am trying to follow steps to update the error message that shows when a user enters incorrect credentials. I’ve followed this thread and tried everything in there, and although I think I’ve updated the keys correctly via the api with a bearer token pulled from my Auth0 Management Api Explorer (I’ve received a 200 OK), the new text isn’t appearing for me when I trigger the error on my login page.

My template was a little out of date, so I’ve tried reverting to the default custom login template, and still the new error message does not show.

I’ve tried each of the following, though I think I should be using login since my screen asks for both username and password on the same screen.

https://[DOMAIN]/api/v2/prompts/login-password/custom-text/en

{
    "login-password": {
        "wrong-credentials": "The credentials entered are incorrect. Please try again."
    }
}

https://[DOMAIN]/api/v2/prompts/login-id/custom-text/en

{
    "login-id": {
        "wrong-credentials": "The credentials entered are incorrect. Please try again."
    }
}

https://[DOMAIN]/api/v2/prompts/login/custom-text/en

{
    "login": {
        "wrong-credentials": "The credentials entered are incorrect. Please try again."
    }
}

My language is set to English

Is there anything I might be missing to update the error text? Thank you.

Hi @maguidhir

Welcome to the Auth0 Community!

Are you sure you aren’t using Classic Universal Login? If you are using this toggle you are overriding New Universal Login to Classic and the text customizations wouldn’t have any effect.

Ah, thanks, yes I am using that toggle. Didn’t realize it overrides the New Universal Login. Is there a way to customize those error messages for the Classic Universal Login?

It certainly is, although it requires a bit more configuration within the custom page. All information can be found here: Lock Internationalization (auth0.com)
Hope it helps!

1 Like

@rvdberg

Thanks for providing that info! :grinning_face_with_smiling_eyes:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.