Comments (9)
I am also getting the exact same error, is there any fix/workaround for this issue?
from onlyoffice-mattermost.
I have not got a solution yet.
from onlyoffice-mattermost.
I found the issue - JWT_HEADER
must be set to a value that is not Authorization
, as stated here:
- JWT Header: If JWT protection is enabled, it is necessary to specify a custom header name since the Mattermost security policy blocks external 'Authorization' Headers. This header should be specified in the ONLYOFFICE Docs signature settings as well (further information can be found here).
Reference: https://github.com/ONLYOFFICE/onlyoffice-mattermost?tab=readme-ov-file#plugin-settings
Ensure that this value is not Authorization
, and that it is the same for both the OnlyOffice Mattermost plugin settings and the OnlyOffice documentserver settings.
from onlyoffice-mattermost.
@TheMythologist what do I need to change in my plugin settings? current settings I have attached in my questions.
Can you guide me?
from onlyoffice-mattermost.
On your OnlyOffice document server, what it is the JWT_HEADER
settings used to? It needs to be set to AuthorizationJWT
, as shown from your screenshot.
from onlyoffice-mattermost.
below is my onlyoffice local.json file
{ "services": { "CoAuthoring": { "sql": { "type": "postgres", "dbHost": "localhost", "dbPort": "5432", "dbName": "onlyoffice", "dbUser": "onlyoffice", "dbPass": "onlyoffice" }, "token": { "enable": { "request": { "inbox": true, "outbox": true }, "browser": true }, "inbox": { "header": "Authorization", "inBody": false }, "outbox": { "header": "Authorization", "inBody": false } }, "secret": { "inbox": { "string": "qIGHV0xa8o1MTPSgOTFJusf8pFTmixgn" }, "outbox": { "string": "qIGHV0xa8o1MTPSgOTFJusf8pFTmixgn" }, "session": { "string": "qIGHV0xa8o1MTPSgOTFJusf8pFTmixgn" } } } }, "rabbitmq": { "url": "amqp://guest:guest@localhost" }, "storage": { "fs": { "secretString": "94EoQuvEZvrlWo61vhTl" } } }
from onlyoffice-mattermost.
Are you using Docker to run your OnlyOffice document server? I'm afraid I'm not too sure on how to configure JWT_HEADER
using the configuration json files. For me, I ran OnlyOffice document server via Docker, so I just have to specify JWT_HEADER=<custom_jwt_header>
in my environment.
https://helpcenter.onlyoffice.com/installation/docs-enterprise-install-docker.aspx
from onlyoffice-mattermost.
@TheMythologist thanks it is working
from onlyoffice-mattermost.
we have passed parameter JWT_HEADER=AuthorizationJWT and restarted onlyoffice docker and solved issues.
from onlyoffice-mattermost.
Related Issues (16)
- 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
- https mattermost with context and http onlyoffice integration issues
- use without JWT HOT 2
- Unable to enable the ONLYOFFICE plugin HOT 8
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.