diff --git a/server.ts b/server.ts index 5214c77..87aca7d 100644 --- a/server.ts +++ b/server.ts @@ -55,7 +55,7 @@ passport.use( scope: [ "https://www.googleapis.com/auth/calendar.app.created", "https://www.googleapis.com/auth/calendar.events.freebusy", - "profile", + "https://www.googleapis.com/auth/userinfo.profile", ], skipUserProfile: false, // this is important, if not set to true, an error will be thrown },