-
-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
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.decode(None) causeAttributeError: 'NoneType' object has no attribute 'rsplit' #183
Labels
Comments
I have the same issue. I think the solution is here: https://github.com/jpadilla/pyjwt/blob/master/jwt/api_jws.py#L135 Change the lines 135 and 136 to:
I'm working on my fork to make the tests pass with this modifications, later I'll send a pull request 👍 |
maoaiz
added a commit
to maoaiz/pyjwt
that referenced
this issue
Oct 22, 2015
… 'rsplit' The issue also occurs when payload is int raising: AttributeError: 'int' object has no attribute 'rsplit' Test for None and int payload added
mark-adams
added a commit
that referenced
this issue
Oct 23, 2015
Fixed #183 AttributeError: 'NoneType' object has no attribute 'rsplit'
This was referenced Aug 22, 2016
This was referenced Sep 21, 2016
This was referenced Apr 19, 2017
This was referenced Jun 21, 2017
This was referenced Jul 1, 2017
This was referenced Jul 18, 2017
This was referenced Nov 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should raise jwt.InvalidTokenError.
The text was updated successfully, but these errors were encountered: