Skip to content

Commit

Permalink
Normalizing config to indicate values are read from environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Dec 6, 2024
1 parent d1f4fc5 commit a4bc904
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion proxies/fullmakt-proxy/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring:
aad:
issuer-uri: ${AAD_ISSUER_URI}/v2.0
jwk-set-uri: ${AAD_ISSUER_URI}/discovery/v2.0/keys
accepted-audience: ${azure.app.client.id}, api://${azure.app.client.id}
accepted-audience: ${AZURE_APP_CLIENT_ID}, api://${AZURE_APP_CLIENT_ID}
tokenx:
issuer-uri: ${TOKEN_X_ISSUER}
jwk-set-uri: ${TOKEN_X_JWKS_URI}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring:
aad:
issuer-uri: ${AAD_ISSUER_URI}/v2.0
jwk-set-uri: ${AAD_ISSUER_URI}/discovery/v2.0/keys
accepted-audience: ${azure.app.client.id}, api://${azure.app.client.id}
accepted-audience: ${AZURE_APP_CLIENT_ID}, api://${AZURE_APP_CLIENT_ID}
tokenx:
issuer-uri: ${TOKEN_X_ISSUER}
jwk-set-uri: ${TOKEN_X_JWKS_URI}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
spring:
application:
name: testnav-synthdata-meldekort-proxy
desciption: Proxy for synthdata-arena-meldekort som legger på sikkerhet.
security:
oauth2:
resourceserver:
trygdeetaten:
issuer-uri: ${azure.openid.config.issuer}
jwk-set-uri: ${azure.openid.config.jwks.uri}
issuer-uri: ${AZURE_OPENID_CONFIG_ISSUER}
jwk-set-uri: ${AZURE_OPENID_CONFIG_JWKS_URI}
accepted-audience: ${AZURE_APP_CLIENT_ID}, api:// ${AZURE_APP_CLIENT_ID}
codec:
max-in-memory-size: 15MB
Expand Down

0 comments on commit a4bc904

Please sign in to comment.