Skip to content

Commit

Permalink
Changed to use issuer-uri only.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Jan 13, 2025
1 parent ce5b7d7 commit 0b6b011
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions apps/dolly-frontend/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 1 addition & 3 deletions apps/faste-data-frontend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0b6b011

Please sign in to comment.