[Question]: Google OAuth not work #1639
-
Beta Was this translation helpful? Give feedback.
Answered by
woojuini
Jan 29, 2024
Replies: 2 comments 3 replies
-
I think you're missing some of these values, based on the error, probably the DOMAIN ones. It's working, I use it every day. DOMAIN_CLIENT=http://localhost:3080
DOMAIN_SERVER=http://localhost:3080
GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
GOOGLE_CALLBACK_URL=/oauth/google/callback have you set all of these values? |
Beta Was this translation helpful? Give feedback.
3 replies
-
�I have identified the cause. Thank you for all your help. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fuegovic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
�I have identified the cause.
I checked the user property in /app/api/strategies/googleStrategy.js and it was set to provider: Local.
The problem was that I had signed up the google account as local before integrating google authentication.
Thank you for all your help.