When doing some tests, I kept getting the following DeprecationWarning:
/xxxx/lib/python3.8/site-packages/jwt/api_jwt.py:77: DeprecationWarning: It is strongly recommended that you pass in a value for the "algorithms" argument when calling decode(). This argument will be mandatory in a future version.
I checked and it seems to be caused by these lines in the utils.py file:
Contrary to the encode function it seems to have a parameter called "algorithms" instead of "algorithm". Would like to know if anyone else ran into this too or I'm overlooking something.
When doing some tests, I kept getting the following DeprecationWarning:
I checked and it seems to be caused by these lines in the
utils.py
file:This is the function jwt.decode (im using PyJWT 1.7.1 as per the config).
Contrary to the
encode
function it seems to have a parameter called "algorithms" instead of "algorithm". Would like to know if anyone else ran into this too or I'm overlooking something.