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

Breaking changes introduced with PyJWT V2.0.0 #23

Closed
KrishyV opened this issue Jan 4, 2021 · 1 comment
Closed

Breaking changes introduced with PyJWT V2.0.0 #23

KrishyV opened this issue Jan 4, 2021 · 1 comment

Comments

@KrishyV
Copy link

KrishyV commented Jan 4, 2021

Creating the JWT tokens would throw graphql.error.located_error.GraphQLLocatedError: 'str' object has no attribute 'decode'
The short-term solution I have is to specify your PyJWT version to be PyJWT==1.7.1 in your requirements.txt.

The change log can be found below.

https://github.com/jpadilla/pyjwt/releases/tag/2.0.0

@rscarrera27
Copy link
Owner

Just approved #27. this issue will be resolved by next release. until then, downgrading pyjwt version could be a solution 🙏

and merge this issue to #25

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

No branches or pull requests

2 participants