Skip to content

Commit

Permalink
- Spring profile "dev" var satt opp for lokal kjøring. Rettet.
Browse files Browse the repository at this point in the history
- Lagt til config for Spring profile "local".
- Fjernet duplisert config i Spring profile "prod".
- Beholder tomme config-filer for Spring profile "dev" og "prod" for å tydeliggjøre at disse profilene er i bruk.
  • Loading branch information
rfc3092 committed Dec 5, 2024
1 parent d99611d commit 2464b3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
8 changes: 0 additions & 8 deletions apps/sykemelding-api/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
spring:
config:
import: "sm://"
security:
oauth2:
resourceserver:
aad:
accepted-audience: ${sm://azure-app-client-id}, api://${sm://azure-app-client-id}
8 changes: 8 additions & 0 deletions apps/sykemelding-api/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
spring:
config:
import: "sm://"
security:
oauth2:
resourceserver:
aad:
accepted-audience: ${sm://azure-app-client-id}, api://${sm://azure-app-client-id}
8 changes: 0 additions & 8 deletions apps/sykemelding-api/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
spring:
security:
oauth2:
resourceserver:
tokenx:
issuer-uri: ${TOKEN_X_ISSUER}
jwk-set-uri: ${TOKEN_X_JWKS_URI}
accepted-audience: ${TOKEN_X_CLIENT_ID}

0 comments on commit 2464b3f

Please sign in to comment.