diff --git a/server.ts b/server.ts index 57865a2..3a8b415 100644 --- a/server.ts +++ b/server.ts @@ -56,7 +56,7 @@ passport.use( "https://www.googleapis.com/auth/calendar.app.created", "https://www.googleapis.com/auth/calendar.events.freebusy", ], - skipUserProfile: true, // this is important, if not set to true, an error will be thrown + skipUserProfile: false, // this is important, if not set to true, an error will be thrown }, (accessToken, refreshToken, profile, cb) => { console.log("accessToken", accessToken);