How to add custom error message for password reset UI (Universal Login)

I want to change the error string in the Password reset screen, not sure how to go about it. I referred to this link and made changes to the HTML as shown below in code. But I don’t see it working.

new Auth0ChangePassword({
.
.
dict: {
error: {
signUp: {
password_dictionary_error: ‘That password is too common.’,
}
},
}
});

Hey there!

Have you had a chance to check that doc of ours?

Hi Konrad,

Thank you for responding to my query, I did see the Auth0Lock options. I tried them and was seeing errors in the browser console. I realized that the Auth0Lock works on the Login screen but not that well on the “Password Reset”.

For auth0lock config to work, it looks for certain URL parameters, these parameters are not seen in the password reset screen.

@konrad.sopala I’m also looking to customize the error message on the Password Reset field.

I see the response format described here: GitHub - auth0/auth0-custom-password-reset-hosted-page: An example on how to do a custom reset password hosted page.

How do I output the returned message instead of the generic: “There was an error processing the password reset.”