feat: SW-158 Updated new param loginKey and callback url support
This commit is contained in:
@@ -95,7 +95,6 @@ const curityProvider = {
|
||||
authorization: {
|
||||
url: `${env.CURITY_ISSUER_USER}/oauth/v2/authorize`,
|
||||
},
|
||||
checks: ["pkce", "nonce"],
|
||||
token: {
|
||||
url: `${env.CURITY_ISSUER_USER}/oauth/v2/token`,
|
||||
},
|
||||
@@ -195,6 +194,17 @@ export const config = {
|
||||
return token
|
||||
},
|
||||
},
|
||||
cookies: {
|
||||
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