jpadilla / pyjwt

JSON Web Token implementation in Python
https://pyjwt.readthedocs.io
MIT License
5k stars 675 forks source link

Inclusive IAT timestamp check. #883

Closed stephan-nordnes-eriksen closed 1 year ago

stephan-nordnes-eriksen commented 1 year ago

Currently, the iat-check will fail if the IAT timestamp is equal to "now". I believe it should use inclusive test to not fail if it's being validated immediately after being created.

Someone more "in-the-know" should validate that the tests and use-case is correct

stephan-nordnes-eriksen commented 1 year ago

Sorry, this PR is broken. Closing