Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PyJwT version 2.0 compatability and update required PyJwT to v2.0
This was the change that broke our usage. ``` Dropped deprecated require_* options in jwt.decode(...) For example, instead of jwt.decode(encoded, key, algorithms=["HS256"], options={"require_exp": True}), use jwt.decode(encoded, key, algorithms=["HS256"], options={"require": ["exp"]}). ``` I switched to the new require syntax and everything started working again. Unfortunately the new fix doesn't work on old versions so I also updated the requirements.txt.
- Loading branch information