diff --git a/apps/dolly-frontend/src/main/resources/application-local.yml b/apps/dolly-frontend/src/main/resources/application-local.yml index dd94d3a879..db87e404a4 100644 --- a/apps/dolly-frontend/src/main/resources/application-local.yml +++ b/apps/dolly-frontend/src/main/resources/application-local.yml @@ -22,9 +22,7 @@ spring: client-secret: ${AZURE_APP_CLIENT_SECRET} provider: aad: - authorization-uri: https://login.microsoftonline.com/62366534-1ec3-4962-8869-9b5535279d0b/oauth2/v2.0/authorize # Not set by NAIS, but required because of authorization_code. - token-uri: ${AZURE_OPENID_CONFIG_TOKEN_ENDPOINT} - jwk-set-uri: ${AZURE_OPENID_CONFIG_JWKS_URI} + issuer-uri: ${sm://azure-openid-config-issuer} consumers: testnav-altinn3-tilgang-service: diff --git a/apps/endringsmelding-frontend/src/main/resources/application-local.yml b/apps/endringsmelding-frontend/src/main/resources/application-local.yml index c5694fb889..a92cd9a0c1 100644 --- a/apps/endringsmelding-frontend/src/main/resources/application-local.yml +++ b/apps/endringsmelding-frontend/src/main/resources/application-local.yml @@ -1,8 +1,6 @@ AZURE_APP_CLIENT_ID: ${sm://azure-app-client-id} AZURE_APP_CLIENT_SECRET: ${sm://azure-app-client-secret} -AZURE_APP_TENANT_ID: ${sm://azure-app-tenant-id} AZURE_OPENID_CONFIG_ISSUER: ${sm://azure-openid-config-issuer} -AZURE_OPENID_CONFIG_TOKEN_ENDPOINT: ${sm://azure-openid-config-token-endpoint} spring: config: diff --git a/apps/faste-data-frontend/src/main/resources/application-local.yml b/apps/faste-data-frontend/src/main/resources/application-local.yml index 8a5ed30f19..8c5071d294 100644 --- a/apps/faste-data-frontend/src/main/resources/application-local.yml +++ b/apps/faste-data-frontend/src/main/resources/application-local.yml @@ -1,5 +1,6 @@ AZURE_APP_CLIENT_ID: ${sm://azure-app-client-id} AZURE_APP_CLIENT_SECRET: ${sm://azure-app-client-secret} +AZURE_OPENID_CONFIG_ISSUER: ${sm://azure-openid-config-issuer} spring: config: diff --git a/apps/faste-data-frontend/src/main/resources/application.yml b/apps/faste-data-frontend/src/main/resources/application.yml index 7cd235a528..8387a9cc79 100644 --- a/apps/faste-data-frontend/src/main/resources/application.yml +++ b/apps/faste-data-frontend/src/main/resources/application.yml @@ -19,9 +19,7 @@ spring: scope: openid, ${AZURE_APP_CLIENT_ID}/.default provider: aad: - authorization-uri: https://login.microsoftonline.com/62366534-1ec3-4962-8869-9b5535279d0b/oauth2/v2.0/authorize # Not set by NAIS, but required because of authorization_code. - token-uri: ${AZURE_OPENID_CONFIG_TOKEN_ENDPOINT} - jwk-set-uri: ${AZURE_OPENID_CONFIG_JWKS_URI} + issuer-uri: ${AZURE_OPENID_CONFIG_ISSUER} consumers: testnorge-profil-api: