Ownpad v0.11.0 on NC29.0.1 with psql backend fails to validate api key/config due to variable naming mismatch
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 polls ownpad_etherpad_useapi and ownpad_etherpad_apikey. However, the values create in the DB are ownpad_etherpad_use_api and ownpad_etherpad_api_key.
After adding ownpad_etherpad_useapi and ownpad_etherpad_apikey to the DB manually, ownpad works as expected.
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:
- Nextcloud 29.0.1
- Etherpad 2.1.0 (also tried 2.0.2 & 2.0.3)
- Ownpad 0.11.0 (everything with Docker & behind traefik) Etherpad is configured as mentioned here: https://github.com/otetard/ownpad/blob/main/README.md
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,