How can I set custom error page url from tenan.yml?

After setting custom error page in tenant settings, I exported the tenant.yml using deploy cli.
But I am unable to see how custom error page was set in tenant.yml

Command used to export is a0deploy export --config_file=config.json --format=yaml --output_folder=exportedConfig --debug

How can I set custom error page url from tenant.yml ?

Hi @deepakg,

Welcome to the Auth0 Community!

If you have a custom error page set in your tenant already, you can find it in the tenant.yaml file under pages. I put in https://google.com in the custom error page field on my tenant as an example and exported the tenant with the Deploy CLI. Screenshot:

Screenshot 2025-01-08 at 3.16.32 PM

To set one, you can add the name and url to the pages resource in the tenant.yaml file as shown in the screenshot.

Let me know how this goes!

Thanks,

Mary Beth