feat(SW-158): Updated to use custom cookie and optimization
This commit is contained in:
@@ -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 ######")
|
||||
|
||||
Reference in New Issue
Block a user