diff --git a/apps/application-system/api/infra/application-system-api.ts b/apps/application-system/api/infra/application-system-api.ts index ef44dd546487..41738c668a20 100644 --- a/apps/application-system/api/infra/application-system-api.ts +++ b/apps/application-system/api/infra/application-system-api.ts @@ -36,6 +36,7 @@ import { Frigg, HealthDirectorateVaccination, HealthDirectorateOrganDonation, + NationalRegistryB2C, } from '../../../../infra/src/dsl/xroad' export const GRAPHQL_API_URL_ENV_VAR_NAME = 'GRAPHQL_API_URL' // This property is a part of a circular dependency that is treated specially in certain deployment types @@ -267,6 +268,7 @@ export const serviceSetup = (services: { Labor, HealthInsurance, NationalRegistry, + NationalRegistryB2C, Payment, DrivingLicense, PaymentSchedule, diff --git a/charts/islandis/values.dev.yaml b/charts/islandis/values.dev.yaml index f628fff3f928..ca6d0b8694db 100644 --- a/charts/islandis/values.dev.yaml +++ b/charts/islandis/values.dev.yaml @@ -610,6 +610,10 @@ application-system-api: LOGIN_SERVICE_APPLICATION_RECIPIENT_EMAIL_ADDRESS: 'gunnar.ingi@fjr.is' LOGIN_SERVICE_APPLICATION_RECIPIENT_NAME: 'Gunnar Ingi' LOG_LEVEL: 'info' + NATIONAL_REGISTRY_B2C_CLIENT_ID: 'b464afdd-056b-406d-b650-6d41733cfeb7' + NATIONAL_REGISTRY_B2C_ENDPOINT: 'https://skraidentitydev.b2clogin.com/skraidentitydev.onmicrosoft.com/b2c_1_midlun_flow/oauth2/v2.0/token' + NATIONAL_REGISTRY_B2C_PATH: 'IS-DEV/GOV/10001/SKRA-Cloud-Protected/Midlun-v1' + NATIONAL_REGISTRY_B2C_SCOPE: 'https://skraidentitydev.onmicrosoft.com/midlun/.default' NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init' NOVA_ACCEPT_UNAUTHORIZED: 'true' NOVA_USERNAME: 'IslandIs_User_Development' diff --git a/charts/islandis/values.prod.yaml b/charts/islandis/values.prod.yaml index c7e37f4144c5..0564cf2d03c7 100644 --- a/charts/islandis/values.prod.yaml +++ b/charts/islandis/values.prod.yaml @@ -598,6 +598,10 @@ application-system-api: LOGIN_SERVICE_APPLICATION_RECIPIENT_EMAIL_ADDRESS: 'island@island.is' LOGIN_SERVICE_APPLICATION_RECIPIENT_NAME: 'Stafrænt Ísland' LOG_LEVEL: 'info' + NATIONAL_REGISTRY_B2C_CLIENT_ID: '2304d7ca-7ed3-4188-8b6d-e1b7e0e3df7f' + NATIONAL_REGISTRY_B2C_ENDPOINT: 'https://skraidentity.b2clogin.com/skraidentity.onmicrosoft.com/b2c_1_midlun_flow/oauth2/v2.0/token' + NATIONAL_REGISTRY_B2C_PATH: 'IS/GOV/6503760649/SKRA-Cloud-Protected/Midlun-v1' + NATIONAL_REGISTRY_B2C_SCOPE: 'https://skraidentity.onmicrosoft.com/midlun/.default' NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init' NOVA_ACCEPT_UNAUTHORIZED: 'false' NOVA_USERNAME: 'IslandIs_User_Production' diff --git a/charts/islandis/values.staging.yaml b/charts/islandis/values.staging.yaml index 227a2b0fcc6d..c7e4a2583b0d 100644 --- a/charts/islandis/values.staging.yaml +++ b/charts/islandis/values.staging.yaml @@ -607,6 +607,10 @@ application-system-api: LOGIN_SERVICE_APPLICATION_RECIPIENT_EMAIL_ADDRESS: 'gunnar.ingi@fjr.is' LOGIN_SERVICE_APPLICATION_RECIPIENT_NAME: 'Gunnar Ingi' LOG_LEVEL: 'info' + NATIONAL_REGISTRY_B2C_CLIENT_ID: 'ca128c23-b43c-443d-bade-ec5a146a933f' + NATIONAL_REGISTRY_B2C_ENDPOINT: 'https://skraidentitydev.b2clogin.com/skraidentitystaging.onmicrosoft.com/b2c_1_midlun_flow/oauth2/v2.0/token' + NATIONAL_REGISTRY_B2C_PATH: 'IS-TEST/GOV/6503760649/SKRA-Cloud-Protected/Midlun-v1' + NATIONAL_REGISTRY_B2C_SCOPE: 'https://skraidentitystaging.onmicrosoft.com/midlun/.default' NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init' NOVA_ACCEPT_UNAUTHORIZED: 'false' NOVA_USERNAME: 'IslandIs_User_Development'