spring:
  application:
    name: demo
  # redis \u914D\u7F6E
  security:
    oauth2:
      resourceserver:
        jwt:
          jwk-set-uri: http://127.0.0.1:8082/oauth2/jwks
      client:
        registration:
          demo:
            client-id: b55c88c20db94790a60a5075
            client-secret: UqVAS8UiehSFJSR8_CygnYGR5M79LuGuGiDwATtcGqg
            client-name: DEMO
            authorization-grant-type: authorization_code
            redirect-uri: http://106.14.217.120/demo/callback
            scope:
              - openid
              - profile
              # 返回权限
              - perms
            provider: idp

        provider:
          idp:
            issuer-uri: http://127.0.0.1:8082
            authorization-uri: http://106.14.217.120/idp-ui/sso
            token-uri: http://127.0.0.1:8082/oauth2/token
            user-info-uri: http://127.0.0.1:8082/userinfo
            jwk-set-uri: http://127.0.0.1:8082/oauth2/jwks
            user-name-attribute: sub
  data:
    redis:
      # \u5730\u5740
      host: localhost
      # \u7AEF\u53E3\uFF0C\u9ED8\u8BA4\u4E3A6379
      port: 6379
      # \u6570\u636E\u5E93\u7D22\u5F15
      database: 0
      # \u5BC6\u7801
      password:
      # \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4
      timeout: 10s
      lettuce:
        pool:
          # \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5C0F\u7A7A\u95F2\u8FDE\u63A5
          min-idle: 0
          # \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5927\u7A7A\u95F2\u8FDE\u63A5
          max-idle: 8
          # \u8FDE\u63A5\u6C60\u7684\u6700\u5927\u6570\u636E\u5E93\u8FDE\u63A5\u6570
          max-active: 8
          # #\u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
          max-wait: -1ms





logging:
  level:
    root: info
    org.springframework.web: debug
    org.springframework.security: debug
    org.springframework.security.oauth2: debug


server:
  port: 10001

