feat: SW-162 Inserted all three scopes
This commit is contained in:
3
auth.ts
3
auth.ts
@@ -75,7 +75,7 @@ const curityMFAProvider = {
|
|||||||
authorization: {
|
authorization: {
|
||||||
...sharedConfig.authorization,
|
...sharedConfig.authorization,
|
||||||
params: {
|
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
|
* 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
|
* 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(), {
|
cookieStore.set("_SecureMFA-token", mfaCookie.toString(), {
|
||||||
maxAge: maxAge,
|
maxAge: maxAge,
|
||||||
})
|
})
|
||||||
return null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const loginType = getLoginType(user)
|
const loginType = getLoginType(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user