Skip to content

Commit

Permalink
chore: adjust audience check (#20)
Browse files Browse the repository at this point in the history
Reviewed-By: Evelyn Gurschler <[email protected]>
  • Loading branch information
Phil91 authored Apr 3, 2024
1 parent 221a435 commit c955601
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/dim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ idp:
metadataPath: "/auth/realms/CX-Central/.well-known/openid-configuration"
tokenValidationParameters:
validIssuerPath: "/auth/realms/CX-Central"
validAudience: "Cl25-CX-Dim"
validAudience: "DIM-Middle-Layer"
refreshInterval: "00:00:30"
tokenPath: "/auth/realms/CX-Central/protocol/openid-connect/token"
# -- Flag if the api should be used with an leading /auth path
Expand Down
4 changes: 2 additions & 2 deletions consortia/environments/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ processesworker:
# -- Url to the entitlement service api
baseUrl: "https://entitlements-service.cfapps.eu10.hana.ondemand.com"
cf:
clientId: "<path:portal/data/dim/cf#clientId>"
clientId: "<path:portal/data/dim/dev/cf#clientId>"
clientSecret: "<path:portal/data/dim/dev/cf#clientSecret>"
tokenAddress: "https://login.cf.eu10.hana.ondemand.com/oauth/token"
# -- Url to the cf service api
Expand All @@ -90,7 +90,7 @@ idp:
address: "https://centralidp.dev.demo.catena-x.net"
jwtBearerOptions:
tokenValidationParameters:
validAudience: "Cl24-CX-Dim"
validAudience: "DIM-Middle-Layer"

postgresql:
auth:
Expand Down
4 changes: 2 additions & 2 deletions consortia/environments/values-int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ processesworker:
# -- Url to the entitlement service api
baseUrl: "https://entitlements-service.cfapps.eu10.hana.ondemand.com"
cf:
clientId: "<path:portal/data/dim/cf#clientId>"
clientId: "<path:portal/data/dim/int/cf#clientId>"
clientSecret: "<path:portal/data/dim/int/cf#clientSecret>"
tokenAddress: "https://login.cf.eu10.hana.ondemand.com/oauth/token"
# -- Url to the cf service api
Expand All @@ -81,7 +81,7 @@ idp:
address: "https://centralidp.int.demo.catena-x.net"
jwtBearerOptions:
tokenValidationParameters:
validAudience: "Cl25-CX-Dim"
validAudience: "DIM-Middle-Layer"

postgresql:
auth:
Expand Down

0 comments on commit c955601

Please sign in to comment.