diff --git a/src/routes/calendarRoutes.ts b/src/routes/calendarRoutes.ts index c905221..470ad6f 100644 --- a/src/routes/calendarRoutes.ts +++ b/src/routes/calendarRoutes.ts @@ -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", + ], }) );