Skip to content

Conversation

@ztraboo
Copy link
Contributor

@ztraboo ztraboo commented Oct 14, 2021

What?

Error Occurred with jwt.decode() option verify_iss=False passed when calling the load handler for this specific line https://github.com/bigcommerce/hello-world-app-python-flask/blob/master/app.py#L198

JWT verification failed: decode() got an unexpected keyword argument 'verify_iss'

Payload verification failed!

Tickets / Documentation

It appears that PyJWT Decode doesn't accept verify_iss as a argument.
https://github.com/jpadilla/pyjwt/blob/2.2.0/jwt/api_jwt.py#L113-L120

Looking further into that decode() it looks like the options argument is where the verify_iss is added.
https://github.com/jpadilla/pyjwt/blob/2.2.0/jwt/api_jwt.py#L85

Error Occurred with jwt.decode() option `verify_iss=False` passed.
```
JWT verification failed: decode() got an unexpected keyword argument 'verify_iss'

Payload verification failed!
```
@bookernath
Copy link
Contributor

Thanks!

@bookernath bookernath merged commit 6d445b8 into bigcommerce:master Oct 14, 2021
@ztraboo
Copy link
Contributor Author

ztraboo commented Oct 14, 2021

Appreciate that @bookernath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants