onlyOffice token is incorrect
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my bug.
Operating System of DocumentServer
Windows Server, Docker
Version information
latest
Expected Behavior
I think starting the Docker setting - e JWT-SECRET=my_jwt_secret, and then setting the token=my_jwt_secret on the customer service end can edit the file
Actual Behavior
I set - e JWT-SECRET=my_jwt_secret for Docker, and then set token=my_jwt_secret on the customer service end,token prompts that the format of the document security token is incorrect
Reproduction Steps
- docker run -i -t -d -p 80:80 --restart=always -e JWT_ENABLED=true onlyoffice/documentserver
- docker exec e27d87ae331c /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'
- set Vue3.0 config.token = token
Additional information
No response
@mrgu6 to integrate docs, do you use your Vue document manager or are you based on https://api.onlyoffice.com/editors/vue
yes, "@onlyoffice/document-editor-vue": "^1.4.0"
@mrgu6 The component itself should not affect the token in any way. You may be specifying the token incorrectly
"...and then set token=my_jwt_secret in customer support and"
it is necessary to generate a token using JWT-SECRET
https://api.onlyoffice.com/editors/config/#token