This issue has been created
There is 1 update.
 
 
OpenId Connect / cid:jira-generated-image-avatar-466219e5-c33a-4292-a7fa-8f4d99c36d1a OIDC-342 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-87ee9d96-ad99-4781-a52d-18055b47f8ad Thomas Mortagne created this issue on 19/Nov/26 10:59
 
Summary: The refresh of the authentication access token ignores the configured token endpoint authentication method
Issue Type: cid:jira-generated-image-avatar-466219e5-c33a-4292-a7fa-8f4d99c36d1a Bug
Affects Versions: 2.22.0
Assignee: Unassigned
Components: Authenticator
Created: 19/Nov/26 10:59
Priority: cid:jira-generated-image-static-major-f27250db-49d3-461f-8b45-a0e93cb99a0f Major
Reporter: Thomas Mortagne
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.

 
 

1 update

 
cid:jira-generated-image-avatar-87ee9d96-ad99-4781-a52d-18055b47f8ad Changes by Thomas Mortagne on 19/Nov/26 10:59
 
Assignee: Thomas Mortagne