Skip to content
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

'iat' claim #138

Closed
cilia opened this issue Apr 14, 2015 · 2 comments
Closed

'iat' claim #138

cilia opened this issue Apr 14, 2015 · 2 comments
Labels

Comments

@cilia
Copy link

cilia commented Apr 14, 2015

Just noticed something inconsistent in the documentation.

In the options overriding example, it lists verify_iat field, implying that iat claim is supported by the library. However, under section 'Support of registered claim names', it does not list iat as a supported claim name.

Some confirmation would be much appreciated. Thanks!

@mark-adams
Copy link
Contributor

The iat claim is validated by PyJWT if verify_iat == True.

The iat will fail validation and raise an exception if the iat value is in the future (taking into account the specified leeway for clock skew)

The README has been updated as well. Thanks for letting us know!

@gobengo
Copy link

gobengo commented Nov 17, 2015

See #190 . Where did y'all get the rule to validate that iat is not in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants