0
votes

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.

2

2 Answers

1
votes

There are 2 packages you should refer:

0
votes

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.