YunoHost-Apps / nextcloud_ynh

Nextcloud package for YunoHost
https://nextcloud.com/
GNU Affero General Public License v3.0
144 stars 62 forks source link

Onlyoffice integration requires CLI because of JWT token #537

Open Gredin67 opened 1 year ago

Gredin67 commented 1 year ago

** Problem onlyoffice integration currently requires CLI intervention to get the JWT secret -> https://github.com/YunoHost-Apps/onlyoffice_ynh/issues/84

** Solution

  1. a yunohost app action to call from onlyoffice install and write the JWT secret automatically in nextcloud config
  2. disable JWT authentication by default in nextcloud config
artybdrlt commented 1 year ago

Is this true? I just installed OO thanks to what's written in the readme and it seems to work as expected (first time setting up OO so I don't know if I should pay attention to some details?)

Thanks

Gredin67 commented 1 year ago

Did you install

  1. the OO app for Nextcloud (thanks to what's written in the nextcloud readme)
  2. onlyoffice_ynh together wtih the OOconnector app for Nextcloud

I'm talking about 2.

artybdrlt commented 1 year ago

Okay, I thought you were talking about the OO app for Nextcloud. Thanks!

Gredin67 commented 1 year ago
  • a yunohost app action to call from onlyoffice install and write the JWT secret automatically in nextcloud config

  • disable JWT authentication by default in nextcloud config

@Josue-T what is your opinion on this from a security point of view ?

Gredin67 commented 11 months ago

@ericgaspar any thoughts on this ?