Reputation: 518
I am trying to implement jwt authentication for my project. I used django-rest-auth for authentication. The official rest-auth docs says.
Add the following configuration value to your settings file to enable JWT authentication.
REST_USE_JWT = True
But its returning token with user info. not acces
and refresh
token.
Upvotes: 0
Views: 1027
Reputation: 518
After some searching, I found the django-rest-auth
project has not been developed for more than two years and it is recommended to use its fork dj-rest-auth
.
Using dj-rest-auth
solved my problem.
Upvotes: 0