From 767f5b5d2e5a7c7a52d7caa256e41e65144d0472 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Thu, 18 Jul 2024 14:05:01 +0200 Subject: [PATCH] feat: SW-162 Inserted all three scopes --- auth.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/auth.ts b/auth.ts index 565be480c..33b093d4e 100644 --- a/auth.ts +++ b/auth.ts @@ -75,7 +75,7 @@ const curityMFAProvider = { authorization: { ...sharedConfig.authorization, params: { - scope: ["profile_update", "openid"].join(" "), + scope: ["profile_update", "openid", "profile"].join(" "), /** * 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 @@ -156,7 +156,6 @@ export const config = { cookieStore.set("_SecureMFA-token", mfaCookie.toString(), { maxAge: maxAge, }) - return null } const loginType = getLoginType(user)