Skip to content

Commit 8c81add

Browse files
Merge branch 'main' into DFC-1101-dfc-dfc-account-home-ga-4-upgrade-pii-flags
2 parents 829f530 + 700e636 commit 8c81add

37 files changed

+2125
-963
lines changed

.env.integration-tests.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ DT_RUM_URL=
4444
MISSION_LAB_WEBSOCKET_ADDR=wss://s9hlnv7y91.execute-api.eu-west-2.amazonaws.com
4545
FINGERPRINT_COOKIE_DOMAIN=localhost
4646
SUPPORT_GLOBAL_LOGOUT=1
47+
AMC_JWKS_URL=https://amc-stub.home.dev.account.gov.uk/.well-known/jwks.json

.env.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ DT_RUM_URL=
4444
MISSION_LAB_WEBSOCKET_ADDR=wss://s9hlnv7y91.execute-api.eu-west-2.amazonaws.com
4545
FINGERPRINT_COOKIE_DOMAIN=localhost
4646
SUPPORT_GLOBAL_LOGOUT=1
47+
AMC_JWKS_URL=https://amc-stub.home.dev.account.gov.uk/.well-known/jwks.json

deploy/template.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Mappings:
185185
MISSIONLABWEBSOCKETADDR: "wss://s9hlnv7y91.execute-api.eu-west-2.amazonaws.com"
186186
FINGERPRINTCOOKIEDOMAIN: "account.gov.uk"
187187
SUPPORTGLOBALLOGOUT: "1"
188+
AMCJWKSURL: "https://amc-stub.home.dev.account.gov.uk/.well-known/jwks.json"
188189
build:
189190
NODEENV: "production"
190191
APIBASEURL: "https://oidc.build.account.gov.uk"
@@ -214,6 +215,7 @@ Mappings:
214215
MISSIONLABWEBSOCKETADDR: "wss://s9hlnv7y91.execute-api.eu-west-2.amazonaws.com"
215216
FINGERPRINTCOOKIEDOMAIN: "account.gov.uk"
216217
SUPPORTGLOBALLOGOUT: "1"
218+
AMCJWKSURL: "https://amc-stub.home.build.account.gov.uk/.well-known/jwks.json"
217219
staging:
218220
NODEENV: "production"
219221
APIBASEURL: "https://oidc.staging.account.gov.uk"
@@ -243,6 +245,7 @@ Mappings:
243245
MISSIONLABWEBSOCKETADDR: "wss://sqs8l2bqn1.execute-api.eu-west-2.amazonaws.com"
244246
FINGERPRINTCOOKIEDOMAIN: "account.gov.uk"
245247
SUPPORTGLOBALLOGOUT: "1"
248+
AMCJWKSURL: "https://api.manage.staging.account.gov.uk/.well-known/jwks.json"
246249
integration:
247250
NODEENV: "production"
248251
APIBASEURL: "https://oidc.integration.account.gov.uk"
@@ -272,6 +275,7 @@ Mappings:
272275
MISSIONLABWEBSOCKETADDR: "wss://jxcr697tal.execute-api.eu-west-2.amazonaws.com"
273276
FINGERPRINTCOOKIEDOMAIN: "account.gov.uk"
274277
SUPPORTGLOBALLOGOUT: "0"
278+
AMCJWKSURL: "https://api.manage.integration.account.gov.uk/.well-known/jwks.json"
275279
production:
276280
NODEENV: "production"
277281
APIBASEURL: "https://oidc.account.gov.uk"
@@ -302,6 +306,7 @@ Mappings:
302306
MISSIONLABWEBSOCKETADDR: "wss://jxcr697tal.execute-api.eu-west-2.amazonaws.com"
303307
FINGERPRINTCOOKIEDOMAIN: "account.gov.uk"
304308
SUPPORTGLOBALLOGOUT: "0"
309+
AMCJWKSURL: "https://api.manage.account.gov.uk/.well-known/jwks.json"
305310

306311
Resources:
307312
#
@@ -908,6 +913,9 @@ Resources:
908913
!Ref Environment,
909914
SUPPORTGLOBALLOGOUT,
910915
]
916+
- Name: "AMC_JWKS_URL"
917+
Value:
918+
!FindInMap [EnvironmentVariables, !Ref Environment, AMCJWKSURL]
911919
Cpu: !FindInMap [Container, !Ref Environment, CPU]
912920
Memory: !FindInMap [Container, !Ref Environment, Memory]
913921
ExecutionRoleArn: !GetAtt TaskExecutionRole.Arn

0 commit comments

Comments
 (0)