Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onlyOffice token is incorrect #2743

Open
1 task done
mrgu6 opened this issue May 28, 2024 · 3 comments
Open
1 task done

onlyOffice token is incorrect #2743

mrgu6 opened this issue May 28, 2024 · 3 comments
Assignees

Comments

@mrgu6
Copy link

mrgu6 commented May 28, 2024

This issue is unique.

  • 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

  1. docker run -i -t -d -p 80:80 --restart=always -e JWT_ENABLED=true onlyoffice/documentserver
  2. docker exec e27d87ae331c /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'
  3. set Vue3.0 config.token = token

Additional information

No response

@askonev
Copy link
Member

askonev commented May 29, 2024

@mrgu6 to integrate docs, do you use your Vue document manager or are you based on https://api.onlyoffice.com/editors/vue

@Rita-Bubnova Rita-Bubnova added the waiting feedback Issues that we waiting to be answered from author of issue label May 29, 2024
@mrgu6
Copy link
Author

mrgu6 commented May 29, 2024

yes, "@onlyoffice/document-editor-vue": "^1.4.0"

@Rita-Bubnova Rita-Bubnova removed the waiting feedback Issues that we waiting to be answered from author of issue label May 30, 2024
@askonev
Copy link
Member

askonev commented May 30, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants