feat: SW-162 Inserted all three scopes

This commit is contained in:
Hrishikesh Vaipurkar
2024-07-18 14:05:01 +02:00
parent 8ab77a5522
commit 767f5b5d2e

View File

@@ -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)