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
<GoogleLogin
clientId="clientId"
buttonText="LOGIN WITH GOOGLE"
onSuccess={googleLogin }
onFailure={googleLogin}
/>
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: