feat(SW-158): Implemented seamless login in magic link login

This commit is contained in:
Hrishikesh Vaipurkar
2024-08-14 18:08:37 +02:00
parent ce51402443
commit 710730a9e9
4 changed files with 79 additions and 36 deletions

View File

@@ -5,6 +5,7 @@ import * as authRequired from "./middlewares/authRequired"
import * as bookingFlow from "./middlewares/bookingFlow"
import * as cmsContent from "./middlewares/cmsContent"
import * as currentWebLogin from "./middlewares/currentWebLogin"
import * as currentWebLoginEmail from "./middlewares/currentWebLoginEmail"
import * as currentWebLogout from "./middlewares/currentWebLogout"
import * as handleAuth from "./middlewares/handleAuth"
import * as myPages from "./middlewares/myPages"
@@ -31,6 +32,7 @@ export const middleware: NextMiddleware = async (request, event) => {
const middlewares = [
currentWebLogin,
currentWebLoginEmail,
currentWebLogout,
authRequired,
handleAuth,