Skip to content

Commit

Permalink
- Added Spring Security debug logging.
Browse files Browse the repository at this point in the history
- Changed provider to azure.
  • Loading branch information
rfc3092 committed Dec 20, 2024
1 parent e4c30b1 commit 4210958
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
AZURE_APP_CLIENT_ID: ${sm://azure-app-client-id}
AZURE_APP_CLIENT_SECRET: ${sm://azure-app-client-secret}
AZURE_OPENID_CONFIG_TOKEN_ENDPOINT: ${sm://azure-openid-config-token-endpoint}
AZURE_OPENID_CONFIG_JWKS_URI: ${sm://azure-openid-config-jwks-uri}
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
Expand Up @@ -8,15 +8,15 @@ spring:
oauth2:
client:
registration:
aad:
azure:
authorization-grant-type: authorization_code
client-id: ${AZURE_APP_CLIENT_ID}
client-secret: ${AZURE_APP_CLIENT_SECRET}
redirect-uri: '{baseUrl}/login/oauth2/code/{registrationId}'
scope: openid, ${AZURE_APP_CLIENT_ID}/.default
scope: openid, ${AZURE_APP_CLIENT_ID}/.default
provider:
aad:
issuer-uri: https://login.microsoftonline.com/62366534-1ec3-4962-8869-9b5535279d0b/v2.0
azure:
issuer-uri: ${AZURE_OPENID_CONFIG_ISSUER}

consumers:
endringsmelding-service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@
</root>
</springProfile>

<logger level="DEBUG" name="org.springframework.security"/>

</configuration>

0 comments on commit 4210958

Please sign in to comment.