Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

verify_expiration no longer supported by pyJWT #103

Closed
cancan101 opened this issue Apr 22, 2015 · 3 comments
Closed

verify_expiration no longer supported by pyJWT #103

cancan101 opened this issue Apr 22, 2015 · 3 comments

Comments

@cancan101
Copy link
Contributor

This line likely needs to be changed: https://github.com/GetBlimp/django-rest-framework-jwt/blob/96eb5d9838967a88dfc7d92acfd21ba7481bf50b/rest_framework_jwt/utils.py#L54

perhaps options={'verify_exp': XXX} should be used.

see: jpadilla/pyjwt#147

@lucacorti
Copy link

I'm running into issues with JWT_VERIFY_EXPIRATION set to False, basically it seems to have no effect at all. I guess it depends on this.

@jpadilla
Copy link
Owner

Checking this out right now

@lucacorti
Copy link

Downgrading to PyJWT 1.0.1 seems to work until a new version of django-rest-framework-jwt and/or PyJWT is issued.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants