I am quite new at using passport for authentication over node, hence the lot of code snippets
my server is configured as :
var router = require(\'./a
I agree with you @Seiya but I would add a redirect
app.get( "/auth/google/callback", passport.authenticate('google'), (req, res) => { res.redirect('/whatever') } );