From 3e14daeea05b5301fd77504cf2927091365883ee Mon Sep 17 00:00:00 2001 From: Espen Johansen Velsvik Date: Mon, 19 Aug 2024 09:00:43 +0200 Subject: [PATCH] =?UTF-8?q?Endrer=20azure=20scopr=20og=20toggler=20p=C3=A5?= =?UTF-8?q?=20swagger=20i=20prod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nais/prod-gcp.json | 3 ++- src/main/resources/application.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nais/prod-gcp.json b/nais/prod-gcp.json index b9c0ff8b..37559d11 100644 --- a/nais/prod-gcp.json +++ b/nais/prod-gcp.json @@ -51,7 +51,8 @@ "K9_SAK_INNSYN_API_TOKEN_X_AUDIENCE": "prod-gcp:dusseldorf:k9-sak-innsyn-api", "K9_SELVBETJENING_OPPSLAG_TOKEN_X_AUDIENCE": "prod-gcp:dusseldorf:k9-selvbetjening-oppslag", "AZURE_LOGIN_URL": "https://login.microsoftonline.com/navno.onmicrosoft.com/oauth2/v2.0", - "K9_DRIFT_GRUPPE_ID": "1509dc91-a955-4e72-b64c-2f049e37c0c6" + "K9_DRIFT_GRUPPE_ID": "1509dc91-a955-4e72-b64c-2f049e37c0c6", + "SWAGGER_ENABLED": "true" }, "slack-channel": "sif-alerts", "slack-notify-type": " | sif-innsyn-api | " diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ebf89fdb..b60bc08f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -198,4 +198,4 @@ springdoc: oAuthFlow: authorizationUrl: ${AZURE_LOGIN_URL:http://localhost:8080}/authorize tokenUrl: ${AZURE_LOGIN_URL:http://localhost:8080}/token - apiScope: api://${AZURE_APP_CLIENT_ID:abc123}/.default + apiScope: api://${AZURE_APP_CLIENT_ID:abc456}/.default