feat(jans-auth-server): allow end session with expired id_token_hint (by checking signature and aud/sid) #2430
Labels
comp-jans-auth-server
Component affected by issue or PR
kind-feature
Issue or PR is a new feature request
Milestone
Describe the issue
Allow end session with expired id_token_hint (by checking signature and audi/sid)
oxauth counterpart: GluuFederation/oxAuth#1721
Actual behavior
At present, AS is "verifying" the id_token_hint by looking it up in the token store. If the token has expired it will have been purged, and so the request to end_session is rejected.
Expected behavior
Instead of trying to look up the ID token, to validate the id_token_hint:
If
sid
of id_token_hint does not match request will be rejected.New configuration properties:
allowEndSessionWithUnmatchedSid
with default valuefalse
. Iftrue
,sid
check will be skipped.rejectEndSessionIfIdTokenExpired
with default valuefalse
. Iftrue
andid_token
is not found in db, request will be rejected.The text was updated successfully, but these errors were encountered: