Unable to use Cloudron hosted Etherpad instance within Humhub
-
I have Humhub and Etherpad instances, both on the same Cloudron.
Have configured Etherpad module within Humhub, as per the instructions given here:
https://marketplace.humhub.com/module/notes/installationThe connection is successful:
But, when i do try to edit a Note in the Notes (Etherpad) module, i get the error:
<my-cloudron-domain> refused to connect
.Dev tools error:
Refused to frame '<my-cloudron-domain>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".
I tried configuring the
Content Security Policy
property for both, Humhub and Etherpad, to includeframe-ancestors 'self' <other relevant domains>
,
but am still getting the same error.How to resolve this?
-
@girish Tried that already (maybe incorrectly?).
@shrey said in Unable to use Cloudron hosted Etherpad instance within Humhub:
I tried configuring the Content Security Policy property for both, Humhub and Etherpad, to include frame-ancestors 'self' <other relevant domains>,
but am still getting the same error.Have already set the custom CSP to:
frame-ancestors <humhub-domain> <my-cloudron-domain>;
-
etherpad does an openId authentication automatically when opened (the way its implemented in upstream openid plugin), which is why it probably works when logged in, but in an incognito tab, it should redirect you to the Cloudron login, however I don't know if this is a supported workflow in humhub