Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-9632

Improve logic to set locale

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.0
    • Component/s: None
    • Labels:
    • Story Points:
      5
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The logic to set the users locale is not ideal. There's a few issues here:

      • If locale is set through Account REST API it can be overwritten by KEYCLOAK_LOCALE (KEYCLOAK-9422)
      • If multiple users use the same machine the first user to log in results in a KEYCLOAK_COOKIE which then can overwrite the seconds users locale stored in the user account (KEYCLOAK-6695)
      • KEYCLOAK_COOKIE can override locale from ui_locales parameter. ui_locales should take presidence over the cookie.

      The logic for the locale should be well documented.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stianst Stian Thorgersen
              Reporter:
              stianst Stian Thorgersen
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: