online icon indicating copy to clipboard operation
online copied to clipboard

Need set COEP, COOP and CORP headers

Open muchachagrande opened this issue 7 months ago • 1 comments

Is your feature request related to a problem?

I'm having a problem with Collabora CODE 25.04.2 under Nextcloud 31.0.5. The last update of Collabora broke something related to WASM support. I had this option turned on because Collabora sets COEP, COOP and CORP headers on this mode. Now, I had to turn it off because when a document opens it renders the initial view on white and you can't see the document content. When you scroll the content you can see the rest, but the initial content remains invisible.

[Example: I want to do X, but because of PROBLEM, it takes 5 extra steps instead of 1.]

Describe the solution you'd like

I'd like to be able to configure Collabora to set COEP, COOP and CORP header, without WASM support turned on. I need these three headers:

cross-origin-embedder-policy require-corp cross-origin-opener-policy same-origin cross-origin-resource-policy cross-origin

I observed that Nextcloud works fine with Collabora when it sets these header.

[Example: When I press on X, I think Y should happen. In other software, this exists under the "Help" tab.]

Describe alternatives you've considered

An alternative would be to handle this on the proxy, so these headers would be added at the proxy stage.

Additional context

Add any other context or screenshots about the feature request here.

muchachagrande avatar May 27 '25 01:05 muchachagrande

An update on this. Apparently in version 25.04.2.2, WASM is working again, so enabling it I get CORP, COEP and COOP headers and the problem is solved. Additionally I tested adding these headers with a reverse proxy configured just for this purpose only and it also solves the problem. I think that having the possibility of enabling these headers on Collabora itself would be useful for this kind of scenarios.

muchachagrande avatar Jun 02 '25 01:06 muchachagrande