main
alex 2024-01-14 15:09:03 +01:00
parent c6e5a9df03
commit a0dc5c7489
1 changed files with 2 additions and 2 deletions

View File

@ -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) => {