This issue has been created
There is 1 update.
 
 
OpenId Connect / cid:jira-generated-image-avatar-5ff0b359-f287-4cff-a1a7-51be3a1fa294 OIDC-343 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-64b77e04-ab34-4b7d-b940-fecbfb6255ad Thomas Mortagne created this issue on 19/Nov/26 10:59
 
Summary: Update the authentication ID token when the provider sends a new one while refreshing the access token
Issue Type: cid:jira-generated-image-avatar-5ff0b359-f287-4cff-a1a7-51be3a1fa294 Improvement
Affects Versions: 2.30.2
Assignee: Unassigned
Components: Authenticator
Created: 19/Nov/26 10:59
Priority: cid:jira-generated-image-static-major-2fa16b48-1383-420b-a116-07c44951577d Major
Reporter: Thomas Mortagne
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.

 
 

1 update

 
cid:jira-generated-image-avatar-64b77e04-ab34-4b7d-b940-fecbfb6255ad Changes by Thomas Mortagne on 19/Nov/26 10:59
 
Assignee: Thomas Mortagne