alex 2024-01-14 12:55:32 +01:00
parent 84dbeb5762
commit 519cd13631
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ passport.use(
"https://www.googleapis.com/auth/calendar.app.created",
"https://www.googleapis.com/auth/calendar.events.freebusy",
],
skipUserProfile: true,
skipUserProfile: true, // this is important, if not set to true, an error will be thrown
},
(accessToken, refreshToken, profile, cb) => {
console.log("accessToken", accessToken);

View File

@ -27,7 +27,7 @@ router.get(
console.log("req.user", req.user);
logger.info("req.user", req.user);
res.redirect(
/* "https://customerdashboard.ex.umbach.dev/store/calendar/finish" */ "/"
/* "https://customerdashboard.ex.umbach.dev/store/calendar/finish" */ "/test"
);
}
);