ruoyi-auth.yml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. enabled: true
  25. # 前端外网访问地址
  26. address: http://192.168.3.51:80
  27. type:
  28. maxkey:
  29. # maxkey 服务器地址
  30. # 注意 如下均配置均不需要修改 maxkey 已经内置好了数据
  31. server-url: http://sso.maxkey.top
  32. client-id: 876892492581044224
  33. client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8
  34. redirect-uri: ${justauth.address}/social-callback?source=maxkey
  35. qq:
  36. client-id: 10**********6
  37. client-secret: 1f7d08**********5b7**********29e
  38. redirect-uri: ${justauth.address}/social-callback?source=qq
  39. union-id: false
  40. weibo:
  41. client-id: 10**********6
  42. client-secret: 1f7d08**********5b7**********29e
  43. redirect-uri: ${justauth.address}/social-callback?source=weibo
  44. gitee:
  45. client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98
  46. client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac
  47. redirect-uri: ${justauth.address}/social-callback?source=gitee
  48. dingtalk:
  49. client-id: 10**********6
  50. client-secret: 1f7d08**********5b7**********29e
  51. redirect-uri: ${justauth.address}/social-callback?source=dingtalk
  52. baidu:
  53. client-id: 10**********6
  54. client-secret: 1f7d08**********5b7**********29e
  55. redirect-uri: ${justauth.address}/social-callback?source=baidu
  56. csdn:
  57. client-id: 10**********6
  58. client-secret: 1f7d08**********5b7**********29e
  59. redirect-uri: ${justauth.address}/social-callback?source=csdn
  60. coding:
  61. client-id: 10**********6
  62. client-secret: 1f7d08**********5b7**********29e
  63. redirect-uri: ${justauth.address}/social-callback?source=coding
  64. coding-group-name: xx
  65. oschina:
  66. client-id: 10**********6
  67. client-secret: 1f7d08**********5b7**********29e
  68. redirect-uri: ${justauth.address}/social-callback?source=oschina
  69. alipay_wallet:
  70. client-id: 10**********6
  71. client-secret: 1f7d08**********5b7**********29e
  72. redirect-uri: ${justauth.address}/social-callback?source=alipay_wallet
  73. alipay-public-key: MIIB**************DAQAB
  74. wechat_open:
  75. client-id: 10**********6
  76. client-secret: 1f7d08**********5b7**********29e
  77. redirect-uri: ${justauth.address}/social-callback?source=wechat_open
  78. wechat_mp:
  79. client-id: 10**********6
  80. client-secret: 1f7d08**********5b7**********29e
  81. redirect-uri: ${justauth.address}/social-callback?source=wechat_mp
  82. wechat_enterprise:
  83. client-id: 10**********6
  84. client-secret: 1f7d08**********5b7**********29e
  85. redirect-uri: ${justauth.address}/social-callback?source=wechat_enterprise
  86. agent-id: 1000002
  87. gitlab:
  88. client-id: 10**********6
  89. client-secret: 1f7d08**********5b7**********29e
  90. redirect-uri: ${justauth.address}/social-callback?source=gitlab