-
-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add verify_at_hash option (default=False)
To make it easier to enforce verification of at_hash in future major versions of PyJWT, add the verify_at_hash option to the implementation, defaulting to False. It's now necessary for callers to set `options={'verify_at_hash': True}` in addition to `access_token=...`, but it keeps backwards compatibility for users who are acting on OIDC ID Tokens with current versions of PyJWT. Whenever PyJWT 2.0 is created, this can be changed to default to True
- Loading branch information
Showing
2 changed files
with
47 additions
and
7 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