Same input causes exception in python 3.8.3 but not in python 3.6.8 #280
Describe the bug
An input for authlib.jose.jwt.decode() causes an exception on python 3.8.3 while it works on python 3.6.8 .
from authlib.jose import jwt jwt.decode(mytoken, key=mykey, claims_options=something)
The causing parameter is
However, if I set
then authlib accepts the input for both, python 3.6.8 and 3.8.3.
(untested): get a valid key and put it in the structure as depicted in my example above.
The same input gets accepted without errors for both python versions.
The text was updated successfully, but these errors were encountered:
Looks like I'm hitting the same issue. In my case it's running a Synapse server v1.21.0 (Matrix homeserver) with OIDC auth against a Lemonldap::NG issuer, with Py 3.6.8. Going back to authlib 0.14.3 makes everything working again.