diff --git a/src/main/resources/config/application-client.yaml b/src/main/resources/config/application-client.yaml index e73062e..e519b83 100644 --- a/src/main/resources/config/application-client.yaml +++ b/src/main/resources/config/application-client.yaml @@ -6,7 +6,7 @@ client: client-id: ${CDR_CLIENT_ID:id} client-secret: ${CDR_CLIENT_SECRET:dummy} scopes: - - https://graph.microsoft.com/.default + - https://${CDR_CLIENT_SCOPE_PREFIX:}identity.health.swisscom.ch/CdrApi/.default idp-endpoint: https://login.microsoftonline.com/${client.idp-credentials.tenant-id}/ schedule-delay: PT10M files-in-progress-cache-size: 10MB diff --git a/src/main/resources/config/application-dev.yaml b/src/main/resources/config/application-dev.yaml index 293bffc..070d6a5 100644 --- a/src/main/resources/config/application-dev.yaml +++ b/src/main/resources/config/application-dev.yaml @@ -4,6 +4,8 @@ client: tenant-id: ${CDR_B2C_TENANT_ID:no-token} client-id: ${CDR_CLIENT_ID:id} client-secret: ${CDR_CLIENT_SECRET:dummy} + scopes: + - https://dev.identity.health.swisscom.ch/CdrApi/.default idp-endpoint: https://login.microsoftonline.com/${client.idp-credentials.tenant-id}/ endpoint: scheme: http