-
-
Notifications
You must be signed in to change notification settings - Fork 719
Validate 'sub' and 'jti' claims for the token #991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, can you please make sure there's test coverage in place for these changes?
Will do. Update: @jpadilla Added the test cases |
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Can you update the changeling?
|
@jpadilla No problem! Updated it 😺 |
new pr #1005
_validate_suband_validate_jtimethods for verifying these claims.decode_completefunction to include options for verifying the 'sub' and 'jti' claims.decodeanddecode_completefunction, to acceptsubject