Uploaded image for project: 'OpenId Connect'
  1. OpenId Connect
  2. OIDC-343

Update the authentication ID token when the provider sends a new one while refreshing the access token

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.31.0
    • 2.30.2
    • Authenticator
    • None
    • Unit
    • Unknown
    • N/A

    Description

      When refreshing the access token stored in the session, the provider may also send a new ID token (OpenID Connect Core section 12.2). It is currently ignored, and the session keeps the ID token received at login for the whole session.

      This ID token is the one sent as id_token_hint in the logout request, and some providers refuse an ID token which is too old.

      When the refresh answer contains a valid ID token (same issuer, subject and audience as the current one, as required by the specification), it should replace the one stored in the session. An invalid one should be ignored (with a warning) instead of logging the user out.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: