설명 없음

ruoyi-auth.yml 3.6KB

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