Enable Hebrew and Arabic Languages for the Auth0 New Universal Login
Last Updated:
Overview
Right-to-left languages like Arabic and Hebrew are not present by default in the list of languages under the Custom Text settings for the New Universal Login. To resolve this, request Early Access to the feature, disable the legacy User Interface (UI) migration flag, enable the languages via the Management API or the Auth0 Dashboard, and update the custom page template if applicable.
Applies To
- Auth0
- New Universal Login
- Languages
Cause
The Arabic and Hebrew languages are not present by default in the list of languages under Branding > Universal Login > Advanced options > Custom text > Language.
Solution
How does an administrator enable Hebrew and Arabic languages for the New Universal Login?
Right-to-left languages like Arabic and Hebrew are currently in Early Access. Open a support ticket to request access.
Once Auth0 enables the feature, disable the legacy migration flag in the Auth0 Dashboard, enable the right-to-left languages, and update the custom page template by following these steps.
- Navigate to Settings, select the Advanced tab, and scroll to the Migrations section.
- Clear the Use Universal Login UI v1 (without right to left language support) toggle to disable the
migrationFlags.no_ulp_rtl_supportflag. - Enable the languages from Settings, then Tenant Settings, and finally the General section, or use the Management API.
- Verify if the tenant uses a custom page template. If a custom page template is active, add
dir="{{dir}}"to thehtmltag within the custom template.
To enable Arabic and Hebrew languages, make a PATCH call to the /api/v2/tenants/settings endpoint with the following JSON body.
{
"enabled_locales": [
"en","ar","he"
]
}
After enabling the languages, specify the desired language by appending the ui_locales query parameter to the login request.
https://<domain>/authorize?response_type=code&
client_id=<client_id>&
redirect_uri=<https://app/callback>&
scope=<scope>&
audience=<api_audience>&
state=<state>&
ui_locales=he
With this configuration, enable all three languages (Arabic, Hebrew, and English), and Auth0 dynamically renders the page based on the desired language using the ui_locales parameter.