ruoyi-auth.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # 安全配置
  2. security:
  3. # 验证码
  4. captcha:
  5. # 是否开启验证码
  6. enabled: true
  7. # 验证码类型 math 数组计算 char 字符验证
  8. type: math
  9. # 数字验证码位数
  10. numberLength: 1
  11. # 字符验证码长度
  12. charLength: 4
  13. # 用户配置
  14. user:
  15. password:
  16. # 密码最大错误次数
  17. maxRetryCount: 5
  18. # 密码锁定时间(默认10分钟)
  19. lockTime: 10
  20. # 三方授权
  21. justauth:
  22. # 前端外网访问地址
  23. address: http://localhost:80
  24. type:
  25. maxkey:
  26. # maxkey 服务器地址
  27. # 注意 如下均配置均不需要修改 maxkey 已经内置好了数据
  28. server-url: http://sso.maxkey.top
  29. client-id: 876892492581044224
  30. client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8
  31. redirect-uri: ${justauth.address}/social-callback?source=maxkey
  32. topiam:
  33. # topiam 服务器地址
  34. server-url: http://127.0.0.1:1989/api/v1/authorize/y0q************spq***********8ol
  35. client-id: 449c4*********937************759
  36. client-secret: ac7***********1e0************28d
  37. redirect-uri: ${justauth.address}/social-callback?source=topiam
  38. scopes: [ openid, email, phone, profile ]
  39. qq:
  40. client-id: 10**********6
  41. client-secret: 1f7d08**********5b7**********29e
  42. redirect-uri: ${justauth.address}/social-callback?source=qq
  43. union-id: false
  44. weibo:
  45. client-id: 10**********6
  46. client-secret: 1f7d08**********5b7**********29e
  47. redirect-uri: ${justauth.address}/social-callback?source=weibo
  48. gitee:
  49. client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98
  50. client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac
  51. redirect-uri: ${justauth.address}/social-callback?source=gitee
  52. dingtalk:
  53. client-id: 10**********6
  54. client-secret: 1f7d08**********5b7**********29e
  55. redirect-uri: ${justauth.address}/social-callback?source=dingtalk
  56. baidu:
  57. client-id: 10**********6
  58. client-secret: 1f7d08**********5b7**********29e
  59. redirect-uri: ${justauth.address}/social-callback?source=baidu
  60. csdn:
  61. client-id: 10**********6
  62. client-secret: 1f7d08**********5b7**********29e
  63. redirect-uri: ${justauth.address}/social-callback?source=csdn
  64. coding:
  65. client-id: 10**********6
  66. client-secret: 1f7d08**********5b7**********29e
  67. redirect-uri: ${justauth.address}/social-callback?source=coding
  68. coding-group-name: xx
  69. oschina:
  70. client-id: 10**********6
  71. client-secret: 1f7d08**********5b7**********29e
  72. redirect-uri: ${justauth.address}/social-callback?source=oschina
  73. alipay_wallet:
  74. client-id: 10**********6
  75. client-secret: 1f7d08**********5b7**********29e
  76. redirect-uri: ${justauth.address}/social-callback?source=alipay_wallet
  77. alipay-public-key: MIIB**************DAQAB
  78. wechat_open:
  79. client-id: 10**********6
  80. client-secret: 1f7d08**********5b7**********29e
  81. redirect-uri: ${justauth.address}/social-callback?source=wechat_open
  82. wechat_mp:
  83. client-id: 10**********6
  84. client-secret: 1f7d08**********5b7**********29e
  85. redirect-uri: ${justauth.address}/social-callback?source=wechat_mp
  86. wechat_enterprise:
  87. client-id: 10**********6
  88. client-secret: 1f7d08**********5b7**********29e
  89. redirect-uri: ${justauth.address}/social-callback?source=wechat_enterprise
  90. agent-id: 1000002
  91. gitlab:
  92. client-id: 10**********6
  93. client-secret: 1f7d08**********5b7**********29e
  94. redirect-uri: ${justauth.address}/social-callback?source=gitlab
  95. gitea:
  96. # 前端改动 https://gitee.com/JavaLionLi/plus-ui/pulls/204
  97. # gitea 服务器地址
  98. server-url: https://demo.gitea.com
  99. client-id: 10**********6
  100. client-secret: 1f7d08**********5b7**********29e
  101. redirect-uri: ${justauth.address}/social-callback?source=gitea