Code Monkey home page Code Monkey logo

Comments (8)

Nsenz avatar Nsenz commented on July 3, 2024 1

@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.

Nsenz avatar Nsenz commented on July 3, 2024 1

@ynott Works fine with the aforementioned symbols.

from onlyoffice-mattermost.

Nsenz avatar Nsenz commented on July 3, 2024

@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.

ynott avatar ynott commented on July 3, 2024

Thanks @Nsenz,

Hummn, The JWT Secret you are referring to is the JWT_SECRET from the following site, right?

JWT options

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.

ynott avatar ynott commented on July 3, 2024

@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.

Nsenz avatar Nsenz commented on July 3, 2024

@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.

ynott avatar ynott commented on July 3, 2024

@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.

ynott avatar ynott commented on July 3, 2024

This Issue will be closed.
If there are any problems, it will be reopened.

from onlyoffice-mattermost.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.