Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-939

Java Admin client does not support offline token

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • Archive - 21'
    • RH-SSO-7.1.0.CR3
    • None

      This has been reported by an RH-SSO 7.1-Beta Customer via KEYCLOAK-4642 which the customer opened himself.

      See- KEYCLOAK-4642
      >>>
      Offline tokens do not seem to be supported in client admin.
      I am aware that offline token is nothing more than a normal refresh token which does not expire.
      In this sense, offline token is going to replace username and password and should be treated as an input config parameter.

      org.keycloak.admin.client.token.TokenManager assumes that refresh token can only be generated by itself. It does not accept offline token as a config parameter.
      I have updated to code, to temporary continue with I am doing.
      If the problem is valid, I can create a pull request with a proposal on how it can be fixed.

      <<<

            Unassigned Unassigned
            rhn-support-igueye Issa Gueye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: