feat(SW-158): Updated to use custom cookie and optimization

This commit is contained in:
Hrishikesh Vaipurkar
2024-08-19 11:54:49 +02:00
parent fd4c238428
commit 01bd7d2299
3 changed files with 34 additions and 40 deletions
-13
View File
@@ -191,19 +191,6 @@ export const config = {
return token
},
},
cookies: {
// Specific cookie name required to reset callback url when login using
// Email verification link (Magic link) scenario
callbackUrl: {
name: `Scandic-auth.callback-url`,
options: {
sameSite: "lax",
path: "/",
secure: true,
maxAge: 900,
},
},
},
// events: {
// async signIn() {
// console.log("#### SIGNIN EVENT ARGS ######")