main
alex 2024-01-14 15:11:40 +01:00
parent d2203bbbfe
commit 882e860aa6
1 changed files with 5 additions and 2 deletions

View File

@ -10,10 +10,13 @@ router.get(
passport.authenticate("google", {
accessType: "offline",
//session: false,
/*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",
"profile",
"openid",
],
})
);