Default Error Page does Not Support Language Customization
Last Updated:
Overview
This article will cover how to support language customization on the default error page. In this example, the error message in the screen below is triggered by an expired password reset link, but it is not localized; however, on other UL screens, it is.
Authentication Error
This URL can be used only once
Applies To
- Error page
Cause
This error page does not support localization, so users cannot customize the language on this error screen currently. A backlog item exists requesting this functionality.
Solution
This issue can be resolved by implementing a custom error page. This allows for maintaining control over the user experience and branding when an error occurs.
Option 1: Using the Dashboard
-
Navigate to Tenant Settings in the dashboard.
-
Scroll down to the Error Pages section.
-
Select Custom from the options.
-
Enter the page's address in the Custom Error Page URL field.
-
Save the changes.
Option 2: Using the Management API
Another option is to update this setting programmatically via the Management API. This is accomplished by making a PATCH request to the Update tenant settings endpoint.
{
"error_page": {
"url": "https://your-app.com/error"
}
}