You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi.
I'm newbie to auth.
dj-rest-auth seemed easy enough to implement my existing project.
I followed this guide (Django REST APIs with JWT Authentication using dj-rest-auth, Michal Dróżdż)
/api/v1/auth/user/ returns 401 unauthorized.
That's ok
/api/v1/auth/login/ returns 405 "detail": "Method "GET" not allowed."
This is not.
I'm using Postman. If I try to POST on Swagger it works and returns access token.
Where should I start looking for the problem?
Beta Was this translation helpful? Give feedback.
All reactions