Closed sawohnmarshwe closed 1 year ago
@sawohnmarshwe can you add complete CURL request here? You can copy CURL requests from postmen.
@mr-engin3er Okay I added CURL in my post. Thanks :)
This is not a curl request. can you check your HTTP headers? Are you sending the Authorization token by mistake in the login API? If possible try to attach a CURL request with the exact response (a screenshot is also fine).
Steps to copy a postman request as CURL :- stack overflow
@mr-engin3er Sorry for late reply
It is solved after I removed (JWT_AUTH_COOKIE = 'auth'). I don't know why that cause error though
I'm trying to use login/connect social accounts using dj-rest-auth. I use postman to test api request. I installed according to dj-rest-auth doc . I worked smoothly until I delete a user from user table.
My testing process steps:
Do I need to add some setting for this case?
I have no idea How deleted user affected to all other api
Please advise me. Thank you.
Postman request sample:
http://127.0.0.1:8000/api/dj-rest-auth/login/
{ "username":"example@gmail.com", "email": "example@gmail.com", "password": "example" }