|
@@ -158,162 +158,29 @@ mail:
|
|
|
# Socket连接超时值,单位毫秒,缺省值不超时
|
|
|
connectionTimeout: 0
|
|
|
|
|
|
---- # sms 短信
|
|
|
+--- # sms 短信 支持 阿里云 腾讯云 云片 等等各式各样的短信服务商
|
|
|
+# https://wind.kim/doc/start 文档地址 各个厂商可同时使用
|
|
|
sms:
|
|
|
- enabled: false
|
|
|
# 阿里云 dysmsapi.aliyuncs.com
|
|
|
- # 腾讯云 sms.tencentcloudapi.com
|
|
|
- endpoint: "dysmsapi.aliyuncs.com"
|
|
|
- accessKeyId: xxxxxxx
|
|
|
- accessKeySecret: xxxxxx
|
|
|
- signName: 测试
|
|
|
- # 腾讯专用
|
|
|
- sdkAppId:
|
|
|
-
|
|
|
-justauth:
|
|
|
- enabled: true
|
|
|
- type:
|
|
|
- QQ:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/qq/callback
|
|
|
- union-id: false
|
|
|
- WEIBO:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/weibo/callback
|
|
|
- gitee:
|
|
|
- client-id: 38eaaa1b77b5e064313057a2f5745ce3a9f3e7686d9bd302c7df2f308ef6db81
|
|
|
- client-secret: 2e633af8780cb9fe002c4c7291b722db944402e271efb99b062811f52d7da1ff
|
|
|
- redirect-uri: http://localhost:8888/social-login?source=gitee
|
|
|
- DINGTALK:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/dingtalk/callback
|
|
|
- BAIDU:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/baidu/callback
|
|
|
- CSDN:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/csdn/callback
|
|
|
- CODING:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/coding/callback
|
|
|
- coding-group-name: xx
|
|
|
- OSCHINA:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/oschina/callback
|
|
|
- ALIPAY:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/alipay/callback
|
|
|
- alipay-public-key: MIIB**************DAQAB
|
|
|
- WECHAT_OPEN:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat_open/callback
|
|
|
- WECHAT_MP:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat_mp/callback
|
|
|
- WECHAT_ENTERPRISE:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat_enterprise/callback
|
|
|
- agent-id: 1000002
|
|
|
- TAOBAO:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/taobao/callback
|
|
|
- GOOGLE:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/google/callback
|
|
|
- FACEBOOK:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/facebook/callback
|
|
|
- DOUYIN:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/douyin/callback
|
|
|
- LINKEDIN:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/linkedin/callback
|
|
|
- MICROSOFT:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/microsoft/callback
|
|
|
- MI:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/mi/callback
|
|
|
- TOUTIAO:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/toutiao/callback
|
|
|
- TEAMBITION:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/teambition/callback
|
|
|
- RENREN:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/renren/callback
|
|
|
- PINTEREST:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/pinterest/callback
|
|
|
- STACK_OVERFLOW:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/stack_overflow/callback
|
|
|
- stack-overflow-key: asd*********asd
|
|
|
- HUAWEI:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/huawei/callback
|
|
|
- KUJIALE:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/kujiale/callback
|
|
|
- GITLAB:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/gitlab/callback
|
|
|
- MEITUAN:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/meituan/callback
|
|
|
- ELEME:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/eleme/callback
|
|
|
- TWITTER:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/twitter/callback
|
|
|
- XMLY:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/xmly/callback
|
|
|
- # 设备唯一标识ID
|
|
|
- device-id: xxxxxxxxxxxxxx
|
|
|
- # 客户端操作系统类型,1-iOS系统,2-Android系统,3-Web
|
|
|
- client-os-type: 3
|
|
|
- # 客户端包名,如果 clientOsType 为1或2时必填。对Android客户端是包名,对IOS客户端是Bundle ID
|
|
|
- #pack-id: xxxx
|
|
|
- FEISHU:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/feishu/callback
|
|
|
- JD:
|
|
|
- client-id: 10**********6
|
|
|
- client-secret: 1f7d08**********5b7**********29e
|
|
|
- redirect-uri: http://oauth.xkcoding.com/demo/oauth/jd/callback
|
|
|
-
|
|
|
+ alibaba:
|
|
|
+ #请求地址 默认为 dysmsapi.aliyuncs.com 如无特殊改变可以不用设置
|
|
|
+ requestUrl: dysmsapi.aliyuncs.com
|
|
|
+ #阿里云的accessKey
|
|
|
+ accessKeyId: xxxxxxx
|
|
|
+ #阿里云的accessKeySecret
|
|
|
+ accessKeySecret: xxxxxxx
|
|
|
+ #短信签名
|
|
|
+ signature: 测试
|
|
|
+ tencent:
|
|
|
+ #请求地址默认为 sms.tencentcloudapi.com 如无特殊改变可不用设置
|
|
|
+ requestUrl: sms.tencentcloudapi.com
|
|
|
+ #腾讯云的accessKey
|
|
|
+ accessKeyId: xxxxxxx
|
|
|
+ #腾讯云的accessKeySecret
|
|
|
+ accessKeySecret: xxxxxxx
|
|
|
+ #短信签名
|
|
|
+ signature: 测试
|
|
|
+ #短信sdkAppId
|
|
|
+ sdkAppId: appid
|
|
|
+ #地域信息默认为 ap-guangzhou 如无特殊改变可不用设置
|
|
|
+ territory: ap-guangzhou
|