Added a bunch of stuff

This commit is contained in:
Dobie Wollert
2015-08-05 06:03:02 -07:00
parent b4e727c0e6
commit fdc8727044
35 changed files with 1815 additions and 276 deletions

View File

@ -12,11 +12,11 @@ module.exports = function(passport, config) {
done(err, user);
});
});
console.log(config.auth.callback);
passport.use(new GoogleStrategy({
clientID: config.auth.clientId,
clientSecret: config.auth.clientSecret,
// callbackURL: config.auth.callback,
callbackURL: config.auth.callback,
passReqToCallback: true
},
function(req, accessToken, refreshToken, profile, done) {