File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
application/CohortManager/src/Web/app/lib
infrastructure/tf-core/environments Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const NHS_CIS2: OAuthConfig<Profile> = {
1515 clientSecret : process . env . AUTH_CIS2_CLIENT_SECRET ,
1616 authorization : {
1717 params : {
18- acr_values : "AAL2_OR_AAL3_ANY" ,
18+ acr_values : process . env . AUTH_CIS2_ACR_VALUES || "AAL2_OR_AAL3_ANY" ,
1919 scope : "openid profile nationalrbacaccess" ,
2020 response_type : "code" ,
2121 max_age : 240 , // 4 minutes [Required by CIS2]
Original file line number Diff line number Diff line change @@ -1204,6 +1204,7 @@ linux_web_app = {
12041204 AUTH_TRUST_HOST = " true"
12051205 NEXTAUTH_URL = " https://cohort-pre.screening.nhs.uk/api/auth"
12061206 SERVICE_NAME = " Cohort Manager"
1207+ AUTH_CIS2_ACR_VALUES = " AAL3_ANY"
12071208 }
12081209 from_key_vault = {
12091210 # env_var_name = "key_vault_secret_name"
Original file line number Diff line number Diff line change @@ -1240,6 +1240,7 @@ linux_web_app = {
12401240 AUTH_TRUST_HOST = " true"
12411241 NEXTAUTH_URL = " https://cohort.screening.nhs.uk/api/auth"
12421242 SERVICE_NAME = " Cohort Manager"
1243+ AUTH_CIS2_ACR_VALUES = " AAL3_ANY"
12431244 }
12441245 from_key_vault = {
12451246 # env_var_name = "key_vault_secret_name"
You can’t perform that action at this time.
0 commit comments