# Problem displaying dashboards after copying the iframe address in the html tag of a WordPress site

**URL:** <https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068>\
**Category:** Kibana\
**Created:** [August 13, 2018, 5:33am UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068 "2018-08-13T05:33:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![delavari](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@delavari](https://discuss.elastic.co/u/delavari)\
**Post date:** [August 13, 2018, 5:33am UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/1 "2018-08-13T05:33:55Z")

</div>

Hello.  
I will copy the iframe in the HTML tags on a WordPress page, but unfortunately the blank frame is displayed.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 13, 2018, 5:35am UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/2 "2018-08-13T05:35:41Z")

</div>

It's not clear what you are talking about here, please provide more information.

---

<div class="post-metadata">

**Author:** ![delavari](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@delavari](https://discuss.elastic.co/u/delavari)\
**Post date:** [August 13, 2018, 6:07am UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/3 "2018-08-13T06:07:59Z")

</div>

Hello again.  
I created a dashboard in Kibana, and now I want to load this dashboard on one of the pages of the internal site that created with WordPress.  
Well, the way it works is to copy iframe on the page. But after doing this, I'll show you the blank page in WordPress.  
Of course, I'm sure this issue is due to the access level ,Because when I enter the dashboard address in another browser, it first asks for a username and password and opens the dashboard after entering it.

 ![site](https://us1.discourse-cdn.com/elastic/original/3X/1/d/1d017a43e76abb7ab7e9fa8ab95ece5bbe3c01c0.jpeg)

---

<div class="post-metadata">

**Author:** ![delavari](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@delavari](https://discuss.elastic.co/u/delavari)\
**Post date:** [August 13, 2018, 7:08pm UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/4 "2018-08-13T19:08:54Z")

</div>

Hello again.  
I created a dashboard in Kibana, and now I want to load this dashboard on one of the pages of the internal site that created with WordPress.  
Well, the way it works is to copy iframe on the page. But after doing this, I'll show you the blank page in WordPress.  
Of course, I'm sure this issue is due to the access level ,Because when I enter the dashboard address in another browser, it first asks for a username and password and opens the dashboard after entering it.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [August 14, 2018, 8:54pm UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/5 "2018-08-14T20:54:19Z")

</div>

> [@delavari](#):
>
> I'm sure this issue is due to the access level ,Because when I enter the dashboard address in another browser, it first asks for a username and password and opens the dashboard after entering it.

Hi, when it asks for a username and password, I presume that you're not seeing the Kibana login page?

If you have security enabled, that should work:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb154735edee792509759554d8440956116d1fa3.png)

If you have some other kind of authentication mechanism in place, such as a reverse proxy, then the proxy is blocking you from being able to see Kibana in the iframe. You'd need to provide some other non-restricted access point, or give authentication in HTTP headers somehow, for the iframe to use.

---

<div class="post-metadata">

**Author:** ![delavari](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@delavari](https://discuss.elastic.co/u/delavari)\
**Post date:** [August 15, 2018, 8:41pm UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/6 "2018-08-15T20:41:56Z")

</div>

hi.  
yes i don't see login page?  
and i don't want to see login page.  
My scenario is to design dashboards in Kibana and use WordPress to view them and display the dashboards to users in WordPress pages

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [August 15, 2018, 9:03pm UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/7 "2018-08-15T21:03:07Z")

</div>

It's definitely possible to host a Kibana dashboard in an iframe, but when access to Kibana is restricted, the solution is in how to set up your own authentication system to allow it.

Your authentication comes from some kind of 3rd party, such as a proxy in between Kibana and the browser. To get what you want, you'll have to configure that authentication layer to allow access to Kibana when the request is coming from a Wordpress user.

One common solution is to have a separate reverse proxy for accessing Kibana through iframes, and when those requests come in, the proxy adds authentication headers and then forwards the request to the authentication layer.

---

<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:** [September 12, 2018, 9:03pm UTC](https://discuss.elastic.co/t/problem-displaying-dashboards-after-copying-the-iframe-address-in-the-html-tag-of-a-wordpress-site/144068/8 "2018-09-12T21:03:09Z")

</div>

Closed on September 12, 2018, 9:03pm UTC

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