-
Notifications
You must be signed in to change notification settings - Fork 651
JWT authentication is not working with latest version of Django RestFramework #462
Comments
GetBlimp/django-rest-framework-jwt is abandoned and has been removed from DRF docs |
I'm using it with the latest version of DRF and it works fine for me. What issue are you running into? |
I'm not sure what exactly the problem is here. The way I make requests in Postman, which still works, is as follows: When making a request to the endpoint api-token-auth, add these two lines in the Tests tab in Postman:
Then create a global environment variable called Authorization that gets included with each request. Then you just need to refresh the token every so often when it expires. |
Removal from DRF docs Issue with django-rest-framework-jwt |
https://github.com/Styria-Digital/django-rest-framework-jwt is a drop-in updated replacement fork with CI testing against recent Django and DRF |
I have also the same problem. Did you found any solution. |
JSON web token authorization lib is not working in the latest django rest framework and it is also defined in the official docs of it. I have searched many ways but for that i'll have to revert my version of django but that will crash my app because i am using latest features that were included in the django restframework. If you have any solution related to this then refer me instead of changing the version of python or django.
The text was updated successfully, but these errors were encountered: