cloudreve / Cloudreve

🌩支持多家云存储的云盘系统 (Self-hosted file management and sharing system, supports multiple storage providers)
https://cloudreve.org
GNU General Public License v3.0
21.9k stars 3.44k forks source link

Support onlyoffice JWT Token for security #1739

Closed alexshliu closed 1 year ago

alexshliu commented 1 year ago

Is your feature request related to a problem? Please describe.

From official guide: Installing ONLYOFFICE Docs Community Edition for Docker on a local server

Starting from version 7.2, we added a random generation of JWT secret. If JWT secret is not specified with the environment variable, it leads to its re-generation during every VMs or physical server reboot, so there might be problems in integrations. To avoid this issue, specify your own value in -e JWT_SECRET=my_jwt_secret.

应该如何在 cloudreve 中传递这个参数?

Describe the solution you'd like 最好可以直接在 cloudreve 的管理面板中进行配置。

HFO4 commented 1 year ago

Cloudreve 使用的是 WOPI 接口,不支持 JWT 鉴权。