Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-1868

Account console v2 doesn't support automatic logout [GHI#23833]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] I have searched existing issues
      [X] I have reproduced the issue with the latest nightly release

      Area

      account/ui

      Describe the bug

      Scenario like:

      • Login to account console https://localhost:8443/admin/master/console/ in tab1. I did not enabled any preview features etc, so assume it is account console V2.
      • Open account console also in another browser tab (tab2). I should be logged automatically due the SSO and it works this way.
      • Click "Sign out" in tab2. I am logged-out, which is OK
      • Go to tab1. I am still logged-in here, which is not OK. When I click to some link (For instance tab "Personal info" on the left), I am redirected to login screen as SSO session was already removed, which is OK

      Version

      22.0.4 (or latest Keycloak main)

      Expected behavior

      Automatic logout in tab1 due the session iframe after user logged-out in tab2.

      Actual behavior

      Not being logged-out automatically in tab1 until I click on some link

      How to Reproduce?

      See above

      Anything else?

      Not 100% sure if this can be strictly considered a bug or missing functionality (feature). Also it is not a regression since old account console (Account console V1) was not based on javascript and automatic logout did not work here. So feel free to convert to "Feature" or "Enhancement".

            Unassigned Unassigned
            pvlha Pavel Vlha
            Keycloak UI
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: