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

Seafile CE 8.0.2 breaks OnlyOffice integration with security token #2417

Closed
Tjelfe opened this issue Jan 8, 2021 · 3 comments
Closed

Seafile CE 8.0.2 breaks OnlyOffice integration with security token #2417

Tjelfe opened this issue Jan 8, 2021 · 3 comments

Comments

@Tjelfe
Copy link

Tjelfe commented Jan 8, 2021

After Upgrading to CE 8.0.2 (from 7.1.5) OnlyOffice integration is broken when secured via security token.
Configuration in seahub_settings.py:
ONLYOFFICE_JWT_SECRET = ‘mySecret’

OnlyOffice is deployed using docker with a custom local.json where the security token is defined.

Accessing an office dokument from Seafile web interface leads to an error message 'The documents security token is not correct. Please contact your system administrator.'

OnlyOffice integration with disabled security token still works.

@killing
Copy link
Member

killing commented Jan 18, 2021

This will be fixed in 8.0.3 version.

@jobenvil
Copy link
Member

@killing Can somebody confirm that it works with 8.0.3? Now I get following errors. I found out while testing the rpi version with tags 8.0.3-server

@chendelin1982
Copy link

chendelin1982 commented Apr 26, 2021

I use Seafile8.0.4 community, connect OnlyOffice by http (not https), the error below
image

then, I modify onlyofficedocumentserver, set - JWT_ENABLED=flase, and I can edit docs

version: '3'
services:     
  onlyoffice-document-server:
    container_name: onlyoffice-docs
    image: onlyoffice/documentserver:6.0.2
    stdin_open: true
    tty: true
    restart: always
    environment:
     - JWT_ENABLED=flase
     - JWT_SECRET=jwt_secret
     - JWT_HEADER=AuthorizationJwt
    ports:
     - '9003:80'
    expose:
      - '80'
      - '443'
    volumes:
       - ./document_data:/var/www/onlyoffice/Data
       - ./document_log:/var/log/onlyoffice
       - ./document_fonts:/usr/share/fonts/truetype/custom
       - ./document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten

image

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

5 participants