Custom error messages Universal Login PHP SDK

I am using the PHP SDK in order to create a login session. We use the new Universal login. What im trying to do is to customize the error messages a user can get when entering wrong password or duplicate email address. I have turned of the generic response in Auth0 settings.

I have tried to change the key between options and guzzle_options like in this image. With no success, I still se the the general error message upon entering wrong credentials while trying to login (see second image “Fel e-postadress eller lösenord”). Should be “TEST TEST”

Is it better to create some kind of Rule in order to get control over some error messages in the Universal Login?

Skärmavbild 2020-12-10 kl. 13.36.32

Hi @dick.tornfeldt,

It looks like you are referencing this doc.

The language dictionary options must be changed in the dashboard under the universal login settings. Go to https://manage.auth0.com/#/login_page

Ahhh okey, so the new Universal Login doesn’t have same type of on the fly customization I understand this as? Anyways, thanks for the answer :slight_smile:

New UL can be customized via API calls. Here is the doc:

https://auth0.com/docs/universal-login/new-experience/text-customization-new-universal-login

1 Like

Thank you for the support!

1 Like

No problem! Let us know if you run into anything else.

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