From cce9128e62800d1bbe92bc23f162db0955fa085c Mon Sep 17 00:00:00 2001 From: Bjornar Askevold Date: Thu, 14 Dec 2023 12:46:26 +0100 Subject: [PATCH] Fjerner sts fra los --- nais/dev-fss.yml | 4 ---- nais/prod-fss.yml | 4 ---- src/main/resources/application.conf | 17 ----------------- 3 files changed, 25 deletions(-) diff --git a/nais/dev-fss.yml b/nais/dev-fss.yml index 285483bf0..ff2554964 100644 --- a/nais/dev-fss.yml +++ b/nais/dev-fss.yml @@ -60,10 +60,6 @@ spec: - application: k9-sak namespace: k9saksbehandling env: - - name: NAIS_STS_DISCOVERY_ENDPOINT - value: https://security-token-service.nais.preprod.local/rest/v1/sts/.well-known/openid-configuration - - name: STS_AUDIENCE - value: srvk9sak - name: OPPGAVE_BASE_URI value: https://oppgave.nais.preprod.local - name: DB_URL diff --git a/nais/prod-fss.yml b/nais/prod-fss.yml index ef04b1b8c..5e21ef645 100644 --- a/nais/prod-fss.yml +++ b/nais/prod-fss.yml @@ -60,10 +60,6 @@ spec: - application: k9-sak namespace: k9saksbehandling env: - - name: NAIS_STS_DISCOVERY_ENDPOINT - value: https://security-token-service.nais.adeo.no/rest/v1/sts/.well-known/openid-configuration - - name: STS_AUDIENCE - value: srvk9sak - name: OPPGAVE_BASE_URI value: https://oppgave.nais.adeo.no - name: DB_URL diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index d0e6c5068..34fd64df3 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -105,14 +105,6 @@ nav { azure_client_secret = "" azure_client_secret = ${?AZURE_APP_CLIENT_SECRET} issuers = [{ - alias = "nais-sts" - type = "sts" - audience = "" - audience = ${?STS_AUDIENCE} - discovery_endpoint = "" - discovery_endpoint = ${?NAIS_STS_DISCOVERY_ENDPOINT} - }, - { alias = "azure-v2" type = "azure" audience = "" @@ -127,15 +119,6 @@ nav { } ] clients = [{ - alias = "nais-sts" - client_id = "srvk9-los-api" - client_id = ${?SYSTEMBRUKER_USERNAME} - client_secret = "" - client_secret = ${?SYSTEMBRUKER_PASSWORD} - discovery_endpoint = "" - discovery_endpoint = ${?NAIS_STS_DISCOVERY_ENDPOINT} - }, - { alias = "azure-v2" client_id = "" client_id = ${?AZURE_APP_CLIENT_ID}