"Document security token is not correctly formed" error

For those encountering security or download errors in a Docker deployment:

  1. Set JWT_ENABLED=false in the onlyoffice-documentserver environment.
  2. Enable allowPrivateIPAddress in /etc/onlyoffice/documentserver/default.json inside the container. For more details, see this guide.