test
parent
c6e5a9df03
commit
a0dc5c7489
|
@ -52,11 +52,11 @@ passport.use(
|
|||
clientID: process.env.GOOGLE_CLIENT_ID as string,
|
||||
clientSecret: process.env.GOOGLE_CLIENT_SECRET as string,
|
||||
callbackURL: process.env.GOOGLE_CALLBACK_URL as string,
|
||||
scope: [
|
||||
/*scope: [
|
||||
"https://www.googleapis.com/auth/calendar.app.created",
|
||||
"https://www.googleapis.com/auth/calendar.events.freebusy",
|
||||
"https://www.googleapis.com/auth/userinfo.profile",
|
||||
],
|
||||
],*/
|
||||
//skipUserProfile: false, // this is important, if not set to true, an error will be thrown
|
||||
},
|
||||
(accessToken, refreshToken, profile, cb) => {
|
||||
|
|
Loading…
Reference in New Issue