-
-
Notifications
You must be signed in to change notification settings - Fork 674
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
v2.0.0 breaking changes jwt.encode() #587
Comments
Seems this commit: 94d102b broke the |
For backwards compatibility, In its current form in |
Unrelated to 94d102b
https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.md#jwtencode-return-type |
This looks like a breaking issue. Has this been fixed? |
I do think this is an issue, no reason the code snippet I posted in the summary shouldn't work. I ended up pinning to the previous release. |
Hi. Recently we upgraded the PyJWT version from 1.7.1 ---> 2.6.0. I'm aware that there was a source code change happened from version 2.x.x. Could you please provide us the solution to handle this error.
This Error is getting raised when we calling this method -
Im using Python 3.8.5 |
Expected Result
jwt.encode()
to return an object with adecode
property.Actual Result
Reproduction Steps
System Information
The text was updated successfully, but these errors were encountered: