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

Parameter "ui_locales" not redirected to RH-SSO login page in java adapters

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.4.0.Final
    • Fix Version/s: 3.4.1.CR1
    • Component/s: Adapters
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Just deploy a Java adapter and use the following URL:

      http(s)://<adapter_host>:<adapter_port>/<app>/?max_age=1000&ui_locales=de
      

      When you are redirected to the keycloak login page the max_age parameter is passed but not the ui_locales one. The locale used is the one in the browser or default locale.

      Show
      Just deploy a Java adapter and use the following URL: http(s)://<adapter_host>:<adapter_port>/<app>/?max_age=1000&ui_locales=de When you are redirected to the keycloak login page the max_age parameter is passed but not the ui_locales one. The locale used is the one in the browser or default locale.
    • Docs QE Status:
      NEW
    • QE Status:
      ASSIGNED

      Description

      The standard parameter ui_locales (locale used in the login page in OIDC) is not redirected from the adapter URL to the login URL.

      In the class OAuthRequestAuthenticator.java there are some parameters that are managed to be removed from the original URL and added to the redirecting login page but ui_locales is not among them.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhn-support-rmartinc Ricardo Martin Camarero
                Tester:
                Mark True
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: