# Dashboard in Iframe - login?

**URL:** <https://discuss.elastic.co/t/dashboard-in-iframe-login/100691>\
**Category:** Kibana\
**Created:** [September 15, 2017, 1:32pm UTC](https://discuss.elastic.co/t/dashboard-in-iframe-login/100691 "2017-09-15T13:32:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncarlini](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@ncarlini](https://discuss.elastic.co/u/ncarlini)\
**Post date:** [September 15, 2017, 1:32pm UTC](https://discuss.elastic.co/t/dashboard-in-iframe-login/100691/1 "2017-09-15T13:32:37Z")

</div>

Hello! we are trying out x-pack and searchguard. We want to add a dashboard into a React site that we have. The ELK documentation suggests we use an iframe. But when we use the iframe we are asked for the login credentials for Kibana. How do you guy get around this? I read adding a header in nginx with the authentication information. This is kind of useless because anyone with the link can access kibana without the user. Also, we are planning to have different dashboards for different users.

The main question is how to add a dashboard to a react site by inserting the user/crendential automatically.

Thanks

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [September 18, 2017, 5:30pm UTC](https://discuss.elastic.co/t/dashboard-in-iframe-login/100691/2 "2017-09-18T17:30:31Z")

</div>

Here's a blog where Kibana is integrated with Google Sign-In that I think might help you.

> **[User Impersonation with X-Pack: Integrating Third Party Auth with Kibana
	  	 |...](https://www.elastic.co/blog/user-impersonation-with-x-pack-integrating-third-party-auth-with-kibana)**
>
> X-Pack Security is a fantastic way to secure your cluster, providing both authentication and authorization via RBAC. The authentication aspect is managed by services known as realms. Security ships wi...

Please let us know if you still have questions.

Regards,  
Lee

---

<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:** [October 16, 2017, 5:33pm UTC](https://discuss.elastic.co/t/dashboard-in-iframe-login/100691/3 "2017-10-16T17:33:27Z")

</div>

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