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

The refresh of the authentication access token ignores the configured token endpoint authentication method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.31.0
    • 2.22.0
    • Authenticator
    • None
    • Unit
    • Unknown
    • N/A

    Description

      When refreshing the access token stored in the session, the authenticator always authenticates the client with client_secret_basic, ignoring the configured token endpoint authentication method (which is used when getting the tokens at login).

      As a consequence:

      • with a provider which only accepts client_secret_post for the client, the refresh fails and the user is logged out of XWiki
      • when no secret is configured (public client), the refresh fails instead of sending the client_id, and the user is logged out of XWiki

      The refresh should authenticate the client the same way as the token request done at login.

      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: