NextCloud On Iframe issue on Google Chrome


We need to embed NextCloud in an IFrame inside another App, i commented the line
header(‘X-Frame-Options: SAMEORIGIN’) in /lib/private/legacy/response.php since we don’t need this protection as all users are localusers.
it does work in firefox, but in Chrome and Safari i got an error “too many redirect…”

by the way, we loved the product and we hope to use it internally.

Best regards


I have exactly the same issue. Did you find any solution?

Best regards

hello,the same problem to I ,did you solve it ? Could you give me some guides?

2 minutes on a search engine:

3rd party cookies? Other sites recommend to check extensions and plugins as well.