# Sharing Kibana Visualization Search as Iframe and running into Issues on Google Chrome

**URL:** <https://discuss.elastic.co/t/sharing-kibana-visualization-search-as-iframe-and-running-into-issues-on-google-chrome/317016>\
**Category:** Kibana\
**Created:** [October 19, 2022, 2:25pm UTC](https://discuss.elastic.co/t/sharing-kibana-visualization-search-as-iframe-and-running-into-issues-on-google-chrome/317016 "2022-10-19T14:25:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hidanny](https://avatars.discourse-cdn.com/v4/letter/h/22d042/32.png) [@hidanny](https://discuss.elastic.co/u/hidanny)\
**Post date:** [October 19, 2022, 2:25pm UTC](https://discuss.elastic.co/t/sharing-kibana-visualization-search-as-iframe-and-running-into-issues-on-google-chrome/317016/1 "2022-10-19T14:25:55Z")

</div>

Hi All,

Just to note, the IFrame is rendering completely fine on Firefox. I am only encountering this on Google Chrome.

Basically, I am trying to embed a Kibana IFrame on a React website.

However, I am getting message on the IFrame that it refused to connect.

Looking into the console, I am seeing under the following messages:

**Refused to Display "IFrame Link..." in a frame because it set 'X-Frame-Options' to 'deny'**  
**Indicate whether a Cookie is intended to be set in a cross-site context by specifying its SameSite Attribute**

I am seeing 2 problems here. Essentially, the X-Frame-Options is one and I am unclear how to resolve that.

The SameSite is because Kibana Iframe is being recognized as Lax instead of None and I am unsure how to properly set those. **Especially since I am just sharing the Kibana IFrame link and not installing Kibana on my local, so I don't have a Kibana.yml to edit**

Any ideas on how to resolve this? Do I need to install Kibana just to edit those properties, so I can share my Kibana Visualizations?

Happy to hear anyone's ideas or help.

---

<div class="post-metadata">

**Author:** ![drewdaemon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewdaemon/32/97779_2.png) [@drewdaemon](https://discuss.elastic.co/u/drewdaemon)\
**Post date:** [October 19, 2022, 3:10pm UTC](https://discuss.elastic.co/t/sharing-kibana-visualization-search-as-iframe-and-running-into-issues-on-google-chrome/317016/2 "2022-10-19T15:10:00Z")

</div>

@hidanny it sounds like you are building visualizations on a deployment of Kibana that you don't manage yourself. Is that right?

The X-Frame-Options headers are set by the server to allow or deny embedding requests by the browser. I'm thinking that whatever Kibana instance you are using may have disabled iframe embedding ([docs](https://www.elastic.co/guide/en/kibana/current/settings.html#server-securityResponseHeaders-disableEmbedding)).

If that is true, the setting would need to be changed to embed Kibana visualizations in your website.

Let me know if this isn't the case!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 15, 2022, 9:16pm UTC](https://discuss.elastic.co/t/sharing-kibana-visualization-search-as-iframe-and-running-into-issues-on-google-chrome/317016/3 "2022-11-15T21:16:06Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 13, 2022, 9:17pm UTC](https://discuss.elastic.co/t/sharing-kibana-visualization-search-as-iframe-and-running-into-issues-on-google-chrome/317016/4 "2022-12-13T21:17:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
