#服务器端口
|
server:
|
port: 8100
|
|
#数据源配置
|
spring:
|
datasource:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
url: jdbc:mysql://127.0.0.1:3308/jczz_sso?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
username: root
|
password: root
|
redis:
|
host: 127.0.0.1
|
port: 6379
|
password:
|
database: 9
|
ssl: false
|
|
|
druid:
|
validation-query: select 1
|
#第三方登陆
|
social:
|
enabled: true
|
domain: http://127.0.0.1:1888
|
|
# oauth2 配置信息
|
oauth2:
|
base:
|
authorizeUrl: http://192.168.1.50:1888/ssoapi/oauth/authorize
|
# authorizeUrl: http://localhost/:8100/api/oauth/authorize
|
loginPage: http://192.168.1.50:1888/sso/#/login
|
# loginPage: /oauth/login
|
loginProcessingUrl: /oauth/form
|