Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.22.0
-
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
- relates to
-
OIDC-289 Refresh the access token when updating user info
-
- Closed
-