-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Token auth and JWT term usage vs. JWS #69
Comments
Yes, you are absolutely right, I'll rename it. |
References remain e.g. Flask-HTTPAuth/examples/multi_auth.py Line 13 in bd6fcf3
Flask-HTTPAuth/examples/token_auth.py Line 11 in bd6fcf3
Line 165 in bd6fcf3
Line 170 in bd6fcf3
|
Does that mean that, if we were to use
instead of the JWS Serializer, the reference to JWT would be correct? Is this all that is necessary to correctly utilize JWT tokens? |
@mistery If I correctly understand your code, you utilize pyjwt (though no import statement in your code). If you use pyjwt it's easy to use JWT tokens. |
@unuseless, that's correct. There's |
Addressed by #79. Closing. |
In e.g. token_auth.py (and several other places) the term JWT is used for the tokens generated. These tokens are generated with the itsdangerous TimedJSONWebSignatureSerializer.
The thing is, these are not JWT tokens, but JSON Web Signatures (JWS, see https://pythonhosted.org/itsdangerous/ ).
Remedy: Don't use the term JWT for these tokens.
The text was updated successfully, but these errors were encountered: