mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-22 05:38:46 +00:00
parent
3e29b958e3
commit
93768e70c5
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ passport.deserializeUser((obj, done) => done(null, obj));
|
|||
passport.use(new FacebookStrategy({
|
||||
clientID: nconf.get('FACEBOOK_KEY'),
|
||||
clientSecret: nconf.get('FACEBOOK_SECRET'),
|
||||
profileFields: ['email'],
|
||||
profileFields: ['id', 'email', 'displayName'],
|
||||
// callbackURL: nconf.get("BASE_URL") + "/auth/facebook/callback"
|
||||
}, (accessToken, refreshToken, profile, done) => done(null, profile)));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue