canonical / cloudstats

GNU General Public License v3.0
1 stars 2 forks source link

cloudstats use of the jwt 2.+ is out of spec #15

Open agileshaw opened 1 year ago

agileshaw commented 1 year ago

According to the change log in this library, the use of the 'decode' method changed API

https://pyjwt.readthedocs.io/en/stable/changelog.html#dropped-deprecated-verify-param-in-jwt-decode

OLD jwt.decode(refresh_config_encoded,verify=False)

Becomes NEW: jwt.decode(refresh_config_encoded,options=dict(verify_signature=False),algorithms='HS256')


Imported from Launchpad using lp2gh.