pallets-eco / flask-jwt

JWT (JSON Web Tokens) for Flask applications
MIT License
564 stars 177 forks source link

Add JWT_VERIFY_EXPIRATION option for jwt.decode #111

Closed paulsoh closed 6 years ago

paulsoh commented 7 years ago

resolves #107

vimalloc commented 7 years ago

Just adding this to option to the app.config isn't enough. You need to update the calls to the underlying pyjwt to disable it. Per their docs here: https://pyjwt.readthedocs.io/en/latest/usage.html

...Which is exactly what you did, and I must be blind. That's what I get for thinking I can be smart before the first cup of coffee in the morning. Ignore this comment! :P