I am trying to make a sign in with google button using passport module of node js. I am trying to get person\'s email id, name, profile pic. I am trying to download pic to l
According to google documentation for oauth, the first parameter has to be openid and the second can be email or profile, or both
app.get('/auth/google', passport.authenticate('google', {scope: ['openid', 'email', 'profile']}) );
documentation