Skip to content

Commit 12400dc

Browse files
committed
fix: use ALL3_ANY in preprod and prod
1 parent d98cb9d commit 12400dc

File tree

1 file changed

+1
-1
lines changed
  • application/CohortManager/src/Web/app/lib

1 file changed

+1
-1
lines changed

application/CohortManager/src/Web/app/lib/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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]

0 commit comments

Comments
 (0)