Skip to content

Commit

Permalink
Merge pull request #17 from swisscom/feature/32591-correct-scope
Browse files Browse the repository at this point in the history
#32591 set the correct scope for the idp credentials
  • Loading branch information
Lesrac authored Nov 11, 2024
2 parents 015f61e + 83ddda9 commit 2d3b16f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/config/application-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/config/application-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d3b16f

Please sign in to comment.