oauth
parent
41b6810392
commit
7d092a01fd
|
@ -18,13 +18,13 @@ router.get(
|
|||
"/auth/google/callback",
|
||||
passport.authenticate("google", {
|
||||
failureRedirect:
|
||||
"https://customerdashboard.ex.umbach.dev/store/calendar/failed",
|
||||
/* "https://customerdashboard.ex.umbach.dev/store/calendar/failed" */ "/login",
|
||||
}),
|
||||
function (req, res) {
|
||||
// Successful authentication, redirect home.
|
||||
console.log("req.user", req.user);
|
||||
res.redirect(
|
||||
"https://customerdashboard.ex.umbach.dev/store/calendar/finish"
|
||||
/* "https://customerdashboard.ex.umbach.dev/store/calendar/finish" */ "/"
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue