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

Cannot login to Admin Console when realm.id doesn't match realm.realm

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      In the Admin Console

      1. Create a realm "test"
      2. Rename the realm to "test2"
      3. Try to login to the Admin Console of "test2" realm (e.g. http://localhost:8080/auth/admin/test2/console/)
      4. Browser gets stuck in a redirect loop
      Show
      In the Admin Console Create a realm "test" Rename the realm to "test2" Try to login to the Admin Console of "test2" realm (e.g. http://localhost:8080/auth/admin/test2/console/ ) Browser gets stuck in a redirect loop
    • Docs QE Status:
      NEW
    • QE Status:
      VERIFIED

      Description

      The mismatch between realm.id and realm.realm properties can happen with multiple scenarios:

      • when renaming a realm, the realm's id property doesn't get updated
      • when creating a realm through REST endpoint, the id property doesn't need to be specified; when this happen, a random id is then generated which doesn't correspond with "realm" property

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stianst Stian Thorgersen
                  Reporter:
                  vmuzikar Václav Muzikář
                  Tester:
                  Zuzana Schwarzová
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: