-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify oidc token against extended expiration time (#12218)
* Allow 10 minutes of grace period before the token expire * test * Split token and claims verification Added function for checking extended expiration time * Use extended expiration when standard expiration was to short * Mask raw token in debug logs Configure extended expiration time through flag * Align with the code structure and test update revert to Token align with Token * Accept ClaimsReader interface in ValidateClaims instead a concrete type Check if expiration timestamp is in the future Test VerifyExtendedExpiration method * cleanup TokenProcessor tests --------- Co-authored-by: Patryk Dobrowolski <[email protected]>
- Loading branch information
Showing
3 changed files
with
141 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.