Do you want to: Ask a how-to question
Document Server version: 7.4.1
Type of installation of the Document Server(deb/rp)
OS: Centos
Browser version: Chrome Version 116.0.5845.141
The js example does not support JWT at the moment, so you need to disable it by changing true to false in the lines below: /etc/onlyoffice/documentserver/local/json
As for the second issue, find the parameter secretString in /etc/onlyoffice/documentserver/local/json and compare its value with the one of set $secure_link_secret in /etc/onlyoffice/documentserver/nginx/ds.conf
If the values are different, change the one in ds.conf and run systemctl restart nginx.