Skip to content

Commit

Permalink
Endrer azure scopr og toggler på swagger i prod
Browse files Browse the repository at this point in the history
  • Loading branch information
espenjv committed Aug 19, 2024
1 parent 1dd2509 commit 3e14dae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nais/prod-gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<!here> | sif-innsyn-api | "
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3e14dae

Please sign in to comment.