Comments (8)
@ynott The thing here is that Mattermost blocks our default 'Authorization' header. Make sure that you have replaced it in the local.json configuration file. As for your secret, I believe there shouldn't be any problem with using $ and # symbols. I suggest you to deploy a separate document server if possible and double-check your mattermost plugin configuration page as well as the local.json file. If there is still a problem, do not hesitate to contact us.
from onlyoffice-mattermost.
@ynott Works fine with the aforementioned symbols.
from onlyoffice-mattermost.
@ynott Could you please double check your jwt credentials? Apparently, your document server responded with a token validation error (https://api.onlyoffice.com/editors/command). This 'Auto disable' behaviour is intended when the plugin can not connect to the document server.
from onlyoffice-mattermost.
Thanks @Nsenz,
Hummn, The JWT Secret you are referring to is the JWT_SECRET from the following site, right?
I'm using the same ONLYOFFICE Docs EE on Nextcloud.
But it is working with the same JWT_SECRET and there is no problem.
I confirmed that it works with the same Secret Key.
The Secret string has $
and #
in it. Is it possible that this is affecting the Token Validation Error?
from onlyoffice-mattermost.
@Nsenz
Thank you for responding!
I checked out the onlyoffice server!
The JWT Header was not Auth
, but Authorization
.
The JWT prefix was correct: Bearer
(with a space at the end).
I've adjusted the JWT settings on the Mattermost side, but it doesn't seem to work.
from onlyoffice-mattermost.
@ynott Could you please post the logs? Also, please note that the JWT header on both sides mustn't be 'Authorization' (that is the main reason why the default value is set to 'Auth' in the mattermost plugin).
from onlyoffice-mattermost.
@Nsenz
Oh, I see.
Thanks for the advice.
I would like to change the JWT Header.
If that doesn't work, I'll provide the log.
from onlyoffice-mattermost.
This Issue will be closed.
If there are any problems, it will be reopened.
from onlyoffice-mattermost.
Related Issues (17)
- Unable to install the plugin on version MM 7.1.2 HOT 2
- config sending of notifications
- Plugin Failed to start (Invalid character) HOT 3
- Plugin not working HOT 16
- Error `Token used before issued` HOT 5
- Integration with Mattermost Boards
- plugin RPC connection is not responding HOT 7
- can't open the doc by onlyoffice HOT 4
- How to display the full file name? HOT 2
- Error when enable the ONLYOFFICE plugin HOT 1
- Unable to build the plugin HOT 1
- JWT header Authorisation ERROR after last update HOT 3
- Not open document in onlyoffice - Download failed HOT 9
- https mattermost with context and http onlyoffice integration issues
- use without JWT HOT 2
- Do not display the version history menu item HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onlyoffice-mattermost.