Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
πβ
introduce leeway of 1s for
jwt.decode
This addresses breaking change in `pyjwt` version 2.6 (jpadilla/pyjwt#797), where validation will now raise an `ImmatureSignatureError` if the 'issued at' time is in the future, with default 0 leeway. Integration tests fail with `pyjwt~=2.6`, potentially because of clock synchronization / network latency between `issued_at` time at generation and decoding of the jwt; so, a leeway of 1 second accommodates any potential latency / clock sync issue Signed-off-by: ff137 <ff137@proton.me>
- Loading branch information