Skip to content

Commit

Permalink
feat: prepare for update in ACR values
Browse files Browse the repository at this point in the history
  • Loading branch information
rdubigny committed Oct 4, 2024
1 parent 404326b commit 013417c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ MCP_ID_TOKEN_SIGNED_RESPONSE_ALG: RS256
MCP_USERINFO_SIGNED_RESPONSE_ALG: ""
ACR_VALUES: ""
SESSION_SECRET: CeciEstUnFauxSecret
ACR_VALUE_FOR_2FA: "https://refeds.org/profile/mfa"
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ app.post(
claims: {
id_token: {
amr: { essential: true },
acr: { essential: true, value: "https://refeds.org/profile/mfa" },
acr: { essential: true, value: process.env.ACR_VALUE_FOR_2FA },
},
},
}),
Expand Down

0 comments on commit 013417c

Please sign in to comment.