Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18288

Securing the WildFly Management Console with OIDC doesn't work with Keycloak 22 and later

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Security, Web Console
    • None
    • ---
    • ---

      Securing the WildFly Management Console with OIDC currently works with Keycloak 21.1.2.

      However, this doesn't work with the recently released Keycloak 22 and later. In this case, after successfully logging into the console with the Keycloak OpenID provider, the user gets redirected to a blank page instead of to the WildFly Management Console.

      The Keycloak 22 JavaScript adapter was updated to remove the legacy Promise API. This means that calling .success() and .error() on promises returned from the adapter is no longer possible.

      Since HAL currently calls methods from the Keycloak JavaScript adapter's legacy promise API, HAL needs to be updated to use the standardized Promise methods, then() and catch() instead.

      More information about the changes in Keycloak 22 can also be found here.

              hpehl@redhat.com Harald Pehl
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: