Use Spring Boot starter in samples

Closes gh-1187
This commit is contained in:
Steve Riesenberg
2023-05-02 15:03:58 -05:00
parent 2814bc31b8
commit 2ecb7767d9
5 changed files with 31 additions and 388 deletions

View File

@@ -3,8 +3,34 @@ server:
logging:
level:
root: INFO
org.springframework.web: INFO
org.springframework.security: INFO
org.springframework.security.oauth2: INFO
# org.springframework.boot.autoconfigure: DEBUG
org.springframework.security: trace
spring:
security:
user:
name: user1
password: password
oauth2:
authorizationserver:
client:
messaging-client:
registration:
client-id: "messaging-client"
client-secret: "{noop}secret"
client-authentication-methods:
- "client_secret_basic"
authorization-grant-types:
- "authorization_code"
- "refresh_token"
- "client_credentials"
redirect-uris:
- "http://127.0.0.1:8080/login/oauth2/code/messaging-client-oidc"
- "http://127.0.0.1:8080/authorized"
post-logout-redirect-uris:
- "http://127.0.0.1:8080/logged-out"
scopes:
- "openid"
- "profile"
- "message.read"
- "message.write"
require-authorization-consent: true