Closed zugspitze closed 4 years ago
Sorry, I found the token in the response.
I need to reopen it again as the signature on the JWT token isn't valid according to https://jwt.io/
@st4lk can you please help?
Hello Amit, thank you for your interest in the project!
I'll try to take a look at this soon. But generally speaking, the current package doesn't generate JWT tokens by itself, it just uses django-rest-framework-simplejwt for it.
It is possible that we use it in incorrect way, but I can't find an obvious error after quick check.
Maybe it is related to TokenVerifyView
:
You can also include a route for Simple JWT's TokenVerifyView if you wish to allow API users to verify HMAC-signed tokens without having access to your signing key:
https://github.com/davesque/django-rest-framework-simplejwt#installation
Thanks @st4lk for the hint. I will include the verification view and see if it's valid.
Thanks a lot for this awesome package :-)
I am trying to run the example project with JWT auth, and I get the following JWT payload:
However, I don't see JWT token. I was wondering how can I get the JWT token. Can you please provide some help?
Thanks!