main
alex 2024-01-14 11:46:18 +01:00
parent 41b6810392
commit 7d092a01fd
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@ router.get(
"/auth/google/callback", "/auth/google/callback",
passport.authenticate("google", { passport.authenticate("google", {
failureRedirect: failureRedirect:
"https://customerdashboard.ex.umbach.dev/store/calendar/failed", /* "https://customerdashboard.ex.umbach.dev/store/calendar/failed" */ "/login",
}), }),
function (req, res) { function (req, res) {
// Successful authentication, redirect home. // Successful authentication, redirect home.
console.log("req.user", req.user); console.log("req.user", req.user);
res.redirect( res.redirect(
"https://customerdashboard.ex.umbach.dev/store/calendar/finish" /* "https://customerdashboard.ex.umbach.dev/store/calendar/finish" */ "/"
); );
} }
); );