mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 20:50:14 +08:00
SocialsProvider to database
This commit is contained in:
@@ -59,8 +59,6 @@ maxkey.login.mfa =${LOGIN_MFA_ENABLED:true}
|
||||
maxkey.login.mfa.type =${LOGIN_MFA_TYPE:TimeBasedOtpAuthn}
|
||||
#enable social sign on
|
||||
maxkey.login.socialsignon =${LOGIN_SOCIAL_ENABLED:true}
|
||||
#social sign on providers
|
||||
maxkey.login.socialsignon.providers =${LOGIN_SOCIAL_PROVIDERS:gitee,wechatopen,sinaweibo,google,qq,dingtalk,microsoft,facebook,workweixin}
|
||||
#Enable kerberos/SPNEGO
|
||||
maxkey.login.kerberos =false
|
||||
#wsFederation
|
||||
@@ -314,93 +312,6 @@ maxkey.saml.v20.metadata.surName =maxkey
|
||||
maxkey.saml.v20.metadata.emailAddress =maxkeysupport@163.com
|
||||
maxkey.saml.v20.metadata.telephoneNumber =4008981111
|
||||
|
||||
############################################################################
|
||||
# Social Sign On Configuration #
|
||||
#you config client.id & client.secret only #
|
||||
############################################################################
|
||||
#gitee
|
||||
maxkey.socialsignon.gitee.provider =gitee
|
||||
maxkey.socialsignon.gitee.provider.name =Gitee
|
||||
maxkey.socialsignon.gitee.icon =images/social/gitee.png
|
||||
maxkey.socialsignon.gitee.client.id =${SOCIAL_GITEE_CLIENTID:ee6fdc484b3398d17e77d6ff37fd8b9fe502106398c7b22bf5522d3c01303f45}
|
||||
maxkey.socialsignon.gitee.client.secret =${SOCIAL_GITEE_CLIENTSECRET:d6c3558f295f044df538c966a9084166f9a877c7a7392543184007a5faccdbad}
|
||||
maxkey.socialsignon.gitee.account.id =id
|
||||
maxkey.socialsignon.gitee.hidden =false
|
||||
maxkey.socialsignon.gitee.sortorder =1
|
||||
#wechat
|
||||
maxkey.socialsignon.wechatopen.provider =wechatopen
|
||||
maxkey.socialsignon.wechatopen.provider.name =\u5fae\u4fe1
|
||||
maxkey.socialsignon.wechatopen.icon =images/social/wechat.png
|
||||
maxkey.socialsignon.wechatopen.client.id =${SOCIAL_WECHATOPEN_CLIENTID:ee6fdc484b3398d17e7}
|
||||
maxkey.socialsignon.wechatopen.client.secret =${SOCIAL_WECHATOPEN_CLIENTSECRET:7a5faccdbad}
|
||||
maxkey.socialsignon.wechatopen.account.id =id
|
||||
maxkey.socialsignon.wechatopen.hidden =false
|
||||
maxkey.socialsignon.wechatopen.sortorder =2
|
||||
#work weixin
|
||||
maxkey.socialsignon.workweixin.provider =workweixin
|
||||
maxkey.socialsignon.workweixin.provider.name =\u4F01\u4E1A\u5fae\u4fe1
|
||||
maxkey.socialsignon.workweixin.icon =images/social/wechat_enterprise.png
|
||||
maxkey.socialsignon.workweixin.client.id =${SOCIAL_WORKWEIXIN_CLIENTID:ww61ca142e1fe5b8ca}
|
||||
maxkey.socialsignon.workweixin.client.secret =${SOCIAL_WORKWEIXIN_CLIENTSECRET:CfWEoALuKdSKzXiV-QWXeGSD5zPd6Svze3GR_gB5eFs}
|
||||
maxkey.socialsignon.workweixin.agent.id =${SOCIAL_WORKWEIXIN_AGENTID:1000002}
|
||||
maxkey.socialsignon.workweixin.account.id =id
|
||||
maxkey.socialsignon.workweixin.hidden =true
|
||||
maxkey.socialsignon.workweixin.sortorder =2
|
||||
#sina weibo
|
||||
maxkey.socialsignon.sinaweibo.provider =sinaweibo
|
||||
maxkey.socialsignon.sinaweibo.provider.name =\u65b0\u6d6a\u5fae\u535a
|
||||
maxkey.socialsignon.sinaweibo.icon =images/social/weibo.png
|
||||
maxkey.socialsignon.sinaweibo.client.id =${SOCIAL_SINAWEIBO_CLIENTID:3379757634}
|
||||
maxkey.socialsignon.sinaweibo.client.secret =${SOCIAL_SINAWEIBO_CLIENTSECRET:1adfdf9800299037bcab9d1c238664ba}
|
||||
maxkey.socialsignon.sinaweibo.account.id =id
|
||||
maxkey.socialsignon.sinaweibo.hidden =false
|
||||
maxkey.socialsignon.sinaweibo.sortorder =3
|
||||
#Google
|
||||
maxkey.socialsignon.google.provider =google
|
||||
maxkey.socialsignon.google.provider.name =Google
|
||||
maxkey.socialsignon.google.icon =images/social/google.png
|
||||
maxkey.socialsignon.google.client.id =${SOCIAL_GOOGLE_CLIENTID:519914515488.apps.googleusercontent.com}
|
||||
maxkey.socialsignon.google.client.secret =${SOCIAL_GOOGLE_CLIENTSECRET:3aTW3Iw7e11QqMnHxciCaXTt}
|
||||
maxkey.socialsignon.google.account.id =id
|
||||
maxkey.socialsignon.google.hidden =false
|
||||
maxkey.socialsignon.google.sortorder =4
|
||||
#dingtalk
|
||||
maxkey.socialsignon.dingtalk.provider =dingtalk
|
||||
maxkey.socialsignon.dingtalk.provider.name =dingtalk
|
||||
maxkey.socialsignon.dingtalk.icon =images/social/dingtalk.png
|
||||
maxkey.socialsignon.dingtalk.client.id =${SOCIAL_DINGTALK_CLIENTID:dingoawf2jyiwh2uzqnphg}
|
||||
maxkey.socialsignon.dingtalk.client.secret =${SOCIAL_DINGTALK_CLIENTSECRET:Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9}
|
||||
maxkey.socialsignon.dingtalk.account.id =openid
|
||||
maxkey.socialsignon.dingtalk.hidden =false
|
||||
maxkey.socialsignon.dingtalk.sortorder =5
|
||||
#QQ
|
||||
maxkey.socialsignon.qq.provider =qq
|
||||
maxkey.socialsignon.qq.provider.name =QQ
|
||||
maxkey.socialsignon.qq.icon =images/social/qq.png
|
||||
maxkey.socialsignon.qq.client.id =${SOCIAL_QQ_CLIENTID:101225363}
|
||||
maxkey.socialsignon.qq.client.secret =${SOCIAL_QQ_CLIENTSECRET:8577d75e0eb4a91ac549cc8be3371bfd}
|
||||
maxkey.socialsignon.qq.account.id =openid
|
||||
maxkey.socialsignon.qq.hidden =false
|
||||
maxkey.socialsignon.qq.sortorder =6
|
||||
#Microsoft
|
||||
maxkey.socialsignon.microsoft.provider =microsoft
|
||||
maxkey.socialsignon.microsoft.provider.name =Microsoft
|
||||
maxkey.socialsignon.microsoft.icon =images/social/microsoft.png
|
||||
maxkey.socialsignon.microsoft.client.id =${SOCIAL_MICROSOFT_CLIENTID:24aa73b6-7928-4e64-bd64-d8682e650f95}
|
||||
maxkey.socialsignon.microsoft.client.secret =${SOCIAL_MICROSOFT_CLIENTSECRET:PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5}
|
||||
maxkey.socialsignon.microsoft.account.id =id
|
||||
maxkey.socialsignon.microsoft.hidden =false
|
||||
maxkey.socialsignon.microsoft.sortorder =7
|
||||
#facebook
|
||||
maxkey.socialsignon.facebook.provider =facebook
|
||||
maxkey.socialsignon.facebook.provider.name =facebook
|
||||
maxkey.socialsignon.facebook.icon =images/social/facebook.png
|
||||
maxkey.socialsignon.facebook.client.id =${SOCIAL_FACEBOOK_CLIENTID:appKey}
|
||||
maxkey.socialsignon.facebook.client.secret =${SOCIAL_FACEBOOK_CLIENTSECRET:appSecret}
|
||||
maxkey.socialsignon.facebook.account.id =id
|
||||
maxkey.socialsignon.facebook.hidden =false
|
||||
maxkey.socialsignon.facebook.sortorder =8
|
||||
|
||||
############################################################################
|
||||
#Management endpoints configuration #
|
||||
############################################################################
|
||||
|
||||
Reference in New Issue
Block a user