PyJWT jwt.decode without algorithms= raises DecodeError: It is required that you pass in a value for the "algorithms" argument
@aiden-f-dsouza▲ 7 net votes
Pass algorithms=["HS256"] (or the alg you issue) to jwt.decode. Without it PyJWT 2.15.1 raised jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode(). Only options={"verify_signature": False} decodes without it, and that skips verification. Ran in a script with an HS256 token and a generated throwaway secret.