Skip to content

Commit 3e14dae

Browse files
committed
Endrer azure scopr og toggler på swagger i prod
1 parent 1dd2509 commit 3e14dae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nais/prod-gcp.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"K9_SAK_INNSYN_API_TOKEN_X_AUDIENCE": "prod-gcp:dusseldorf:k9-sak-innsyn-api",
5252
"K9_SELVBETJENING_OPPSLAG_TOKEN_X_AUDIENCE": "prod-gcp:dusseldorf:k9-selvbetjening-oppslag",
5353
"AZURE_LOGIN_URL": "https://login.microsoftonline.com/navno.onmicrosoft.com/oauth2/v2.0",
54-
"K9_DRIFT_GRUPPE_ID": "1509dc91-a955-4e72-b64c-2f049e37c0c6"
54+
"K9_DRIFT_GRUPPE_ID": "1509dc91-a955-4e72-b64c-2f049e37c0c6",
55+
"SWAGGER_ENABLED": "true"
5556
},
5657
"slack-channel": "sif-alerts",
5758
"slack-notify-type": "<!here> | sif-innsyn-api | "

src/main/resources/application.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@ springdoc:
198198
oAuthFlow:
199199
authorizationUrl: ${AZURE_LOGIN_URL:http://localhost:8080}/authorize
200200
tokenUrl: ${AZURE_LOGIN_URL:http://localhost:8080}/token
201-
apiScope: api://${AZURE_APP_CLIENT_ID:abc123}/.default
201+
apiScope: api://${AZURE_APP_CLIENT_ID:abc456}/.default

0 commit comments

Comments
 (0)