1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- # 安全配置
- security:
- # 验证码
- captcha:
- # 是否开启验证码
- enabled: true
- # 验证码类型 math 数组计算 char 字符验证
- type: MATH
- # line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
- category: CIRCLE
- # 数字验证码位数
- numberLength: 1
- # 字符验证码长度
- charLength: 4
- # 用户配置
- user:
- password:
- # 密码最大错误次数
- maxRetryCount: 5
- # 密码锁定时间(默认10分钟)
- lockTime: 10
- --- # 三方授权
- justauth:
- enabled: true
- # 前端外网访问地址
- address: http://192.168.3.51:80
- type:
- maxkey:
- # maxkey 服务器地址
- # 注意 如下均配置均不需要修改 maxkey 已经内置好了数据
- server-url: http://sso.maxkey.top
- client-id: 876892492581044224
- client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8
- redirect-uri: ${justauth.address}/social-callback?source=maxkey
- qq:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=qq
- union-id: false
- weibo:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=weibo
- gitee:
- client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98
- client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac
- redirect-uri: ${justauth.address}/social-callback?source=gitee
- dingtalk:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=dingtalk
- baidu:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=baidu
- csdn:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=csdn
- coding:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=coding
- coding-group-name: xx
- oschina:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=oschina
- alipay_wallet:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=alipay_wallet
- alipay-public-key: MIIB**************DAQAB
- wechat_open:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=wechat_open
- wechat_mp:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=wechat_mp
- wechat_enterprise:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=wechat_enterprise
- agent-id: 1000002
- gitlab:
- client-id: 10**********6
- client-secret: 1f7d08**********5b7**********29e
- redirect-uri: ${justauth.address}/social-callback?source=gitlab
|