Support configuring X-Frame-Options in RDepot

Hello,

I am trying to embed RDepot in an IFrame, but it appears that the application has X-Frame-Options set to DENY, which prevents the application from being displayed in an IFrame.

Is there a way to configure the X-Frame-Options for RDepot to allow it to be embedded in an IFrame?

Any help or guidance would be greatly appreciated.

Hi,

I think this might be configurable in your nginx proxy, for example in the following block: RDepot/docker/compose/proxy/rdepot.conf at 92dce1806ce351648767e94de71412d685bb36c8 · openanalytics/RDepot · GitHub - you could try adding proxy_hide_header X-Frame-Options;.

If that doesn’t work, then maybe replacing the configuration file /etc/nginx/conf.d/default.conf in the RDepot client (UI) container by volume mapping a local file or via a configmap (in a Kubernetes cluster) and adding add_header X-Frame-Options "" always; in the following block: RDepot-client/nginx.conf at 4b217b1dc019dc2eacfc99fc654c4909339cec74 · openanalytics/RDepot-client · GitHub

Hope this helps!