Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 8.0.0
    • Fix Version/s: None
    • Component/s: Adapter - JavaScript
    • Labels:
      None
    • Steps to Reproduce:
      1. Set SSO Session Idle 1 min
      2. Set Offline Session Idle : 10 Days
      3. Login with offline token
      4. Close browser,
      5. Wait 2-3 minutes
      6. Start browser => logout
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      In my js app :

      • I log in with login/password with scope offline
      • I get offline refresh token
      • I use this token to get access token
      • I close my browser some minutes
      • I need to log in again !

      It's not the same problem of https://issues.redhat.com/browse/KEYCLOAK-14319
      The waiting time is shorter than SSO Session Max, the active session is not ended.

      I try with a bash script and the session idle is unlimited.

      KC_SERVER=
      KC_REALM=
      KC_CLIENT=
      USERNAME=
      PASSWORD=
      
      refresh_token=`curl -k \
      -d "client_id=$KC_CLIENT" \
      -d "username=$USERNAME" \
      -d "password=$PASSWORD" \
      -d "grant_type=password" \
      -d "scope=openid info offline_access" \
      $KC_SERVER/auth/realms/$KC_REALM/protocol/openid-connect/token | jq -r '.refresh_token'` 
      
      echo $refresh_token
      
      echo '\n\n\n'
      echo `date`
      echo 'waiting ...'
      sleep 5m
      curl -k \
       -d "client_id=$KC_CLIENT" \
       -d "grant_type=refresh_token" $KC_SERVER/auth/realms/$KC_REALM/protocol/openid-connect/token \
       -d "refresh_token=$refresh_token" | jq
      echo `date`
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mposolda Marek Posolda
                  Reporter:
                  follet-bruno Bruno Follet-Locatelli
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: