ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

Version 7.0 token usage issues

Our team installed onlyoffice docs version 7.0 on Centos 8.4 system (without using docker), trying to use the token function but there is a problem with the work.
First, set up the local.json file according to the documentation and restart the onlyoffice docs service.
Secondly, after running the provided demo(JAVA Spring Example), he did not successfully open the page as expected. An error message was issued:

“The document security token is not correctly formed.Please contact your Document Server administrator.Press “OK” to return to document list.”
(Because of the limitation of the link for new users,Completed in comments!)

Next, after querying the document, I found: Invalid token , the operation according to the document still does not work properly. The team did not give up and continued to look for a solution, and found the post: How does the JWT works? After processing according to the reply scheme, it still does not work properly! Hereby Come and find help! Looking forward to your help. Thank you!
(Because of the limitation of the link for new users,Completed in comments!)

Additional Information:
1.The generated JSON data and token are placed in the share link:
2.Error Screenshot:error
3.local.json Adjusted file:

Hi, token generated by your application is signed by secret “123456789”, and in local.json secret is “secret”. JWT secret must be the same on both sides.
Also you have enabled "inBody": true in local.json which means you have to pass JWT in the request body:

Thanks for your reply, thank you