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:
- dj-rest-auth/login [user 1 credential] -> get correct result [user 1]
- delete [user 1] in DB
- dj-rest-auth/login [user 1 credential] -> user not found [401 unauthorize]
- dj-rest-auth/login [user 2 credential] -> user not found [401 unauthorize] ( user 2 exist in table)
- all other api get 401 error (user not found [401 unauthorize])
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.