We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().
The argument name of "jwt.decode()" in "decode_jwt()" seems to be wrong.
ca = jwt.decode(token, base64.b64decode(secret), algorithms='HS256')
When we tried to run the above with the above modifications, the following additional error occurred
jwt.exceptions.InvalidAudienceError: Invalid audience
It was also necessary to specify the clientid in audience. In the end, the following worked well!
ca = jwt.decode(token, base64.b64decode(secret), algorithms='HS256', audience="<merchant's client ID>")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Description
The argument name of "jwt.decode()" in "decode_jwt()" seems to be wrong.
When we tried to run the above with the above modifications, the following additional error occurred
It was also necessary to specify the clientid in audience.
In the end, the following worked well!
The text was updated successfully, but these errors were encountered: