Merged in feat/curity-changes (pull request #1190)
Feat/curity changes * Changed curity stuff * Use env.var * Merge branch 'master' into feat/curity-changes * Merged master into feat/curity-changes
This commit is contained in:
@@ -123,7 +123,7 @@ export async function GET(
|
||||
* page for Scandic. Without the parameter Curity presents some choices
|
||||
* to the user which we do not want.
|
||||
*/
|
||||
acr_values: "acr",
|
||||
acr_values: "urn:com:scandichotels:scandic",
|
||||
|
||||
/**
|
||||
* Both of the below two params are required to send for initiating login as well
|
||||
@@ -142,10 +142,9 @@ export async function GET(
|
||||
* The below acr value is required as for New Web same Curity Client is used for MFA
|
||||
* while in current web it is being setup using different Curity Client
|
||||
*/
|
||||
params.acr_values =
|
||||
"urn:se:curity:authentication:otp-authenticator:OTP-Authenticator_web"
|
||||
params.acr_values = "urn:com:scandichotels:scandic-otp"
|
||||
} else if (isSeamlessMagicLink) {
|
||||
params.acr_values = "abc"
|
||||
params.acr_values = "urn:com:scandichotels:scandic-email"
|
||||
}
|
||||
params.scope = params.scope.join(" ")
|
||||
/**
|
||||
|
||||
@@ -68,7 +68,7 @@ export async function GET(
|
||||
scope: ["openid", "profile"].join(" "),
|
||||
loginKey: loginKey,
|
||||
for_origin: publicURL,
|
||||
acr_values: "abc",
|
||||
acr_values: "urn:com:scandichotels:scandic-email",
|
||||
version: "2",
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user