main
alex 2024-01-14 11:39:56 +01:00
parent b1cc565c60
commit 41b6810392
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ 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: [
"https://www.googleapis.com/auth/calendar.app.created",
"https://www.googleapis.com/auth/calendar.events.freebusy",
],
},
(accessToken, refreshToken, profile, cb) => {
console.log("accessToken", accessToken);