Files
authorization-server-standa…/src/main/resources/application.yml

67 lines
1.5 KiB
YAML
Raw Normal View History

2025-07-13 21:17:16 +08:00
server:
port: 8080
2025-07-16 16:15:33 +08:00
arrokoth:
authorization:
server:
consent-page: /oauth2/consent
authorization-endpoint: /oauth2/authorize
issuer: http://127.0.0.1
security:
web:
swagger-ui: false
login-page: /login
logout-success-url: /login?logout
permit-urls:
- /home/login
- /login/oauth2/**
- /oauth2/token
# RestApi增强配置
graceful-rest-response:
enabled: true
banner: true
print-exception-in-global-advice: true
origin-exception-using-detail-message: false
exclude-urls:
- "/swagger-resources"
- "/v3/api-docs/*"
- "/v2/api-docs"
2025-07-13 21:17:16 +08:00
spring:
2025-07-14 08:33:27 +08:00
aop:
proxy-target-class: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/db_base_authorization?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: yyds@8848
2025-07-13 21:17:16 +08:00
application:
name: authorization-server-standalone
data:
redis:
host: localhost
port: 6379
password: yyds@8848
lettuce:
pool:
max-active: 8 # 最大连接数
max-idle: 4 # 最大空闲连接
min-idle: 1 # 最小空闲连接
max-wait: 2000ms # 获取连接最大等待时间
2025-07-16 16:15:33 +08:00
2025-07-13 21:17:16 +08:00
2025-07-14 08:33:27 +08:00
logging:
level:
root: INFO
com.arrokoth: DEBUG
org.springdoc: INFO
org.springframework: INFO
org.springframework.security: DEBUG
org.springframework.security.oauth2: DEBUG