Auth0 Home Blog Docs

Customizing the Authentication Error message page



When a user gets this message on the UI, is there a way to customize this page? We need to make it look like our product.

It says Authentication Error - Access Expired.



Hi Avanti,

Errors can happen in numerous situations, and they frequently must be handled correctly not to overshare information, but also not to swallow valuable error information. This may also be dictated due to the specific flow the user has taken to reach the error message you mentioned. Also the kind of application it is matters.

All those details can matter, but without knowing further details, I’ll say, Auth0 does provide the ability to create a custom error page, so you can make it look like a part of your product.

Please see this link for more details -



Hi Sahil,

Thank you for taking the time to look into it.

This particular error page is on the lock we are using. Also, I want to customize only this page and do not want to change the global setting to use the custom error everywhere. How can I achieve this? Will the documentation you providrd work for the lock screen?