devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
270 stars 137 forks source link

Fix jwt.exceptions.DecodeError #351

Closed gangefors closed 2 years ago

gangefors commented 2 years ago

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