mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Added a bunch of stuff
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user