From 2de239d23a78d20f27b6095d1e9859a338591f4e Mon Sep 17 00:00:00 2001 From: Lucas ONeil Date: Fri, 15 Dec 2023 13:49:10 -0800 Subject: [PATCH] Switch KC realms Signed-off-by: Lucas ONeil --- deploy/traction/values-development.yaml | 4 ++-- deploy/traction/values-pr.yaml | 4 ++-- services/tenant-ui/config/default.json | 6 +++--- .../frontend/test/__mocks__/api/responses/config.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deploy/traction/values-development.yaml b/deploy/traction/values-development.yaml index 4f2ee6fb8..c744d2db0 100644 --- a/deploy/traction/values-development.yaml +++ b/deploy/traction/values-development.yaml @@ -94,8 +94,8 @@ ui: showMessage: true oidc: active: true - authority: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm - jwksUri: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm/protocol/openid-connect/certs + authority: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz + jwksUri: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz/protocol/openid-connect/certs reservationForm: >- { "formDataSchema": { diff --git a/deploy/traction/values-pr.yaml b/deploy/traction/values-pr.yaml index 654662cdf..9d2ff097e 100644 --- a/deploy/traction/values-pr.yaml +++ b/deploy/traction/values-pr.yaml @@ -85,8 +85,8 @@ ui: showMessage: true oidc: active: true - authority: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm - jwksUri: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm/protocol/openid-connect/certs + authority: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz + jwksUri: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz/protocol/openid-connect/certs reservationForm: >- { "formDataSchema": { diff --git a/services/tenant-ui/config/default.json b/services/tenant-ui/config/default.json index 034f72a7a..e21b49d96 100644 --- a/services/tenant-ui/config/default.json +++ b/services/tenant-ui/config/default.json @@ -15,7 +15,7 @@ }, "oidc": { "active": false, - "authority": "https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm", + "authority": "https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz", "client": "innkeeper-frontend", "label": "IDIR" }, @@ -53,8 +53,8 @@ "staticFiles": "../../frontend/dist", "tractionUrl": "http://localhost:5100", "oidc": { - "jwksUri": "https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm/protocol/openid-connect/certs", - "realm": "digitaltrust-nrm", + "jwksUri": "https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz/protocol/openid-connect/certs", + "realm": "digitaltrust-citz", "roleName": "innkeeper" }, "innkeeper": { diff --git a/services/tenant-ui/frontend/test/__mocks__/api/responses/config.ts b/services/tenant-ui/frontend/test/__mocks__/api/responses/config.ts index 3f69ede07..cdf5391aa 100644 --- a/services/tenant-ui/frontend/test/__mocks__/api/responses/config.ts +++ b/services/tenant-ui/frontend/test/__mocks__/api/responses/config.ts @@ -9,7 +9,7 @@ const config = { oidc: { active: false, authority: - 'https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-nrm', + 'https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz', client: 'innkeeper-frontend', label: 'IDIR', },