My YunoHost server
Hardware: Virtual box on my laptop
YunoHost version: 220.127.116.11
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
All of the above
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?
This is a test install not exposed to the internet and without Let’s Encrypt’s certificates.
If your request is related to an app, specify its name and version: Wiki.js 2.5.290
Description of my issue
I am trying to setup OAuth2 authentication by Nextcloud to be used by wiki.js. I got it to a point where I can login via nextcloud and grant access to wiki.js but then I get error
Failed to obtain access token. I think this is due to me not using Let’s Encrypt’s or any other recognized certificate as suggested here.
The suggested fix is for Docker and suggests to run wiki.js with variable NODE_EXTRA_CA_CERTS set to the servers certificate. I tried putting a to
and when I then run
the variable is set to the above. However, oauth2 does not work.
I guess there are two possibilities - either the misconfiguration is somewhere else or I failed to pass the variable to wiki.js properly. Any ideas how I might check or where the error could be elsewhere?