Open ichdasich opened 3 weeks ago
Hi, first of all: Thank you very much for this greate App. I love using Etherpad inside Nextcloud!
I'm also unable to configure ownpad with API (OAuth2). Got The following error occurred while trying to authenticate to Etherpad: Invalid authentication credentials
.
I've tried adding the the keys ownpad_etherpad_useapi
and ownpad_etherpad_apikey
but with no success.
Running:
Thank you for every hint :)
fixed it, problem was a /
at the end of the url for the etherpad host...
but need to add missing db keys as mentioned by @ichdasich
To use both, protected and unprotected pads in nc leave the session-part in settings.json as is
"editOnly": "${EDIT_ONLY:false}",
"requireSession" : false,
Moin, just setup a new NC instance, and was unable to configure ownpad with API and public pads allowed.
The issue was that in ll42 ff. of
lib/Service/OwnpadService.php
, ownpad pollsownpad_etherpad_useapi
andownpad_etherpad_apikey
. However, the values create in the DB areownpad_etherpad_use_api
andownpad_etherpad_api_key
.After adding
ownpad_etherpad_useapi
andownpad_etherpad_apikey
to the DB manually, ownpad works as expected.