Deepak kumar
Deepak kumar
passport.use( new GoogleStrategy({ clientID: "********************" clientSecret: "********************", callbackURL: 'http://localhost:5000/auth/google/callback', proxy: true, }, (accessToken, refressToken, profile, done) => { //your code stuff. }), )
it will work for you and check your correct callback url. new GoogleStrategy({ clientID: keys.googleClientId, clientSecret: keys.googeClientSecret, callbackURL: 'http://localhost:9000/auth/google/callback', proxy: true, })