- Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Bug Description
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>") kota113 and kousakirai
Metadata
Metadata
Assignees
Labels
No labels