evidently icon indicating copy to clipboard operation
evidently copied to clipboard

iframing evidenlty Ui

Open nagasaipureti-infosys opened this issue 2 years ago • 1 comments

Hi Team, Good Day!

we tried to iframe the evidently ui in our application. but we are getting content blocked. could you pelase advice, is there any flags we need to check before iframing.

nagasaipureti-infosys avatar Oct 06 '23 04:10 nagasaipureti-infosys

Hi @nagasaipureti-infosys

There are no flags for that

I suppose in your application you do something like:

<iframe src="https://your-evidently-ui-instance.com">

First of all you have to check X-Frame-Options response header from your https://your-evidently-ui-instance.com deployment

I don't know details about your infrastructure behind https://your-evidently-ui-instance.com, but it is highly recommended to use web servers (like nginx and etc.) before your application server (evidently UI)

https://your-evidently-ui-instance.com --->  Web Server like (better to manage headers here) ---> Application server (evidently UI)

And then you should set (or remove) X-Frame-Options header (and other headers) on web server side

DimaAmega avatar Oct 06 '23 09:10 DimaAmega