Google signIn Not Working
madhavi007 opened this issue · 4 comments
madhavi007 commented
Google signIn Not Working
pradeep40423 commented
You have to provide the valid google api in .env file. So that it will work.
madhavi007 commented
I already did but still not working.
pradeep40423 commented
I will tell you the steps to integrate it. Give me some times. I will be back soon.
madhums commented
-
Make sure to create a project on google developer console and use the correct keys/secret in
.env
file. -
Make sure you have specified the callback url correctly (as what you have provided in the passport config)
-
Checkout how to configure passport https://github.com/jaredhanson/passport-google-oauth
Google auth should be working fine https://nodejs-express-demo.herokuapp.com/