-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
Validate 'sub' and 'jti' claims for the token #991
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_sub
and_validate_jti
methods for verifying these claims.decode_complete
function to include options for verifying the 'sub' and 'jti' claims.decode
anddecode_complete
function, to acceptsubject