Pyjwt 2.0.0 compatibility issue
See original GitHub issuegraphql.error.located_error.GraphQLLocatedError: module 'jwt' has no attribute 'ExpiredSignature'
ExpiredSignature
is deprecated and ExpiredSignatureError
should be used instead in the newer Pyjwt
versions.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Changelog — PyJWT 2.0.1 documentation
Fixed¶. Fix from_jwk() for all algorithms #598 ... Improve typings¶. We no longer need to use mypy Python 2 compatibility mode (comments) ...
Read more >How to fix compatibility between libraries - Stack Overflow
I'm working with Django-rest-jwt, which requires PyJWT and jwt. The problem is - I made fork to PyJWT cause I need some code...
Read more >Update pyjwt version to >=2.0.0,<3.0.0 · e155fa9383 - OpenDev
Pyjwt recently made a 2.0 release. This release is not compatible with the 1.x series code. We fix the registry to be compat...
Read more >PyJWT - PyPI
Installing. Install with pip: $ pip install PyJWT. Usage. >>> import jwt >>> encoded = jwt.encode({"some": "payload"}, "secret", algorithm="HS256") ...
Read more >pyjwt Changelog - pyup.io
Improve PyJWKSet error accuracy by JulianMaurin in `786 ... 2.0.0. Not secure ... We no longer need to use mypy Python 2 compatibility...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve had issues with PyJWT 2.0.0 too. I had to downgrade to
1.7.1
where it was working. My error was :@IbrahimAlgadi well, it is bad architecture desicion. What may happen when pyJWT changes signature on their major update? I see here multiple solutions: