You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.5 KiB
54 lines
1.5 KiB
server: |
|
port: 8080 |
|
|
|
logging: |
|
level: |
|
root: INFO |
|
org.springframework.web: INFO |
|
org.springframework.security: INFO |
|
org.springframework.security.oauth2: INFO |
|
|
|
spring: |
|
security: |
|
oauth2: |
|
client: |
|
registration: |
|
messaging-client-oidc: |
|
provider: spring |
|
client-id: messaging-client |
|
client-secret: secret |
|
authorization-grant-type: authorization_code |
|
redirect-uri: "http://127.0.0.1:8080/login/oauth2/code/{registrationId}" |
|
scope: openid,profile |
|
client-name: messaging-client-oidc |
|
messaging-client-authorization-code: |
|
provider: spring |
|
client-id: messaging-client |
|
client-secret: secret |
|
authorization-grant-type: authorization_code |
|
redirect-uri: "http://127.0.0.1:8080/authorized" |
|
scope: message.read,message.write |
|
client-name: messaging-client-authorization-code |
|
provider: |
|
spring: |
|
issuer-uri: http://localhost:9000 |
|
cloud: |
|
gateway: |
|
server: |
|
webmvc: |
|
routes: |
|
- id: userinfo |
|
uri: http://localhost:9000 |
|
predicates: |
|
- Path=/userinfo |
|
filters: |
|
- TokenRelay= |
|
- id: messages |
|
uri: http://localhost:8090 |
|
predicates: |
|
- Path=/messages |
|
filters: |
|
- RelayTokenIfExists=messaging-client-authorization-code |
|
|
|
app: |
|
base-uri: http://127.0.0.1:4200
|
|
|