Open AREEG94FAHAD opened 3 years ago
I don't think this repo is taking any update. I suggest you to take a look at https://github.com/iMerica/dj-rest-auth
@AREEG94FAHAD I've implemented following the same steps and I'm getting same error where I can't save it to the database. Were you able to solve it?
I am trying to use Django rest auth with react login with google.
backend In my views.py file
In urls.py
I also configured the database with google credentials
Front part
In authapt.js
In Logincomponent.jsx
but when I try to log in with my google account I got
POST http://localhost:8000/rest-auth/google/ 400 (Bad Request)
I want to save the user in the database of social account of backend any idea