feat: SW-162 Updated as per review comments
This commit is contained in:
@@ -41,18 +41,13 @@ export async function GET(
|
||||
* https://github.com/nextauthjs/next-auth/blob/3c035ec/packages/next-auth/src/lib/actions.ts#L76
|
||||
*/
|
||||
const redirectUrl = await signIn(
|
||||
"curity",
|
||||
"curity-mfa",
|
||||
{
|
||||
redirectTo,
|
||||
redirect: false,
|
||||
},
|
||||
{
|
||||
ui_locales: context.params.lang,
|
||||
scope: "profile_update openid profile",
|
||||
// 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 ID and secret
|
||||
acr_values:
|
||||
"urn:se:curity:authentication:otp-authenticator:OTP-Authenticator_web",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user