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

Fix jwt.exceptions.DecodeError #351

Merged
merged 1 commit into from
May 25, 2022
Merged

Conversation

gangefors
Copy link

PyJWT v2.0.0 removed the verify parameter from the jwt.decode function.
This commit adapts the decode call to the new major version of PyJWT.
PyJWT is locked to only use v2.* to make sure compatability is kept
until v3.0.0 is released.

Reference: https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst#dropped-deprecated-verify-param-in-jwtdecode
Solves: #234

PyJWT v2.0.0 removed the `verify` parameter from the jwt.decode function.
This commit adapts the decode call to the new major version of PyJWT.
PyJWT is locked to only use v2.* to make sure compatability is kept
until v3.0.0 is released.

Reference: https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst#dropped-deprecated-verify-param-in-jwtdecode
Solves: devopshq#234
@allburov allburov self-requested a review May 25, 2022 12:11
@allburov allburov merged commit 4ac48c1 into devopshq:master May 25, 2022
@gangefors gangefors deleted the fix-234 branch May 25, 2022 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants