Enable Hebrew and Arabic Languages for New Universal Login

Overview

This article details how to enable Hebrew and Arabic languages for the New Universal Login.

Applies To

  • New Universal Login
  • Languages

Cause

The Arabic and Hebrew languages are not present in the list of languages under Branding > Universal Login > Advanced options > Custom text > Language.

Solution

To enable Arabic and Hebrew languages, make a PATCH call to the “/api/v2/tenants/settings” endpoint with this body:

{
  "enabled_locales": [
    "en","ar","he"
  ]
}

After doing so, specify the language in the ui_locales query parameter of the login request. For example:

https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}&
    ui_locales=he

With this configuration, enable all three languages (Arabic, Hebrew, and English) and dynamically render the page based on the desired language with the ui_locales parameter.