# Do we need to install nginx to bypass authentication of kibana dashboards when embeded in an external application?

**URL:** https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168
**Category:** Kibana
**Created:** [July 12, 2023, 4:51am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168 "2023-07-12T04:51:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Jvv\_Satya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jvv_satya/32/123314_2.png) [@Jvv\_Satya](https://discuss.elastic.co/u/Jvv_Satya)
#### Post date: [July 12, 2023, 4:51am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168/1 "2023-07-12T04:51:34Z")

</div>

I have created Kibana Dashboards and embedded the iFrame URL in an application. It is asking to enter the username/password inside iFrame. So, how can we bypass and get rid of the login. The kibana version i am uisng is 8.6.2

---

<div class="post-metadata">

### Author: ![Jvv\_Satya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jvv_satya/32/123314_2.png) [@Jvv\_Satya](https://discuss.elastic.co/u/Jvv_Satya)
#### Post date: [July 12, 2023, 9:44am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168/2 "2023-07-12T09:44:31Z")

</div>

can we address using API key. if so, can you please explain the steps.

---

<div class="post-metadata">

### Author: ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)
#### Post date: [July 12, 2023, 9:58am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168/3 "2023-07-12T09:58:52Z")

</div>

Hello @Jvv_Satya !

Have you worked through all the steps in the documentation about [embedding code](https://www.elastic.co/guide/en/kibana/8.8/reporting-getting-started.html#embed-code) and ensuring that you have an anonymous user set up with access to the dashboard you are trying to embed?

* * *

Related:

> [@Kibana dashboard to limited anonymous user](https://discuss.elastic.co/t/kibana-dashboard-to-limited-anonymous-user/338086):
>
> Hi I want my dashboard to be viewable to limited no of users, but I dont want them to get into login page. Can it be done? I know kibana support anonymous authentication but that will open my dashboard for public which I dont want. TIA

---

<div class="post-metadata">

### Author: ![Jvv\_Satya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jvv_satya/32/123314_2.png) [@Jvv\_Satya](https://discuss.elastic.co/u/Jvv_Satya)
#### Post date: [July 13, 2023, 3:11am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168/4 "2023-07-13T03:11:19Z")

</div>

Hello @JLeysens  
Thanks for your reply. I don't want to go with an anonymous account as it gives access to everyone who has the URL.  
Only when I embed the URL in an iFrame in my application, it should not ask for login. However, if anyone else has Kibana URL and tries to access it directly, it should prompt for login.

is this possible with Kibana?

---

<div class="post-metadata">

### Author: ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)
#### Post date: [July 13, 2023, 8:39am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168/5 "2023-07-13T08:39:19Z")

</div>

> [@Kibana dashboard to limited anonymous user](https://discuss.elastic.co/t/kibana-dashboard-to-limited-anonymous-user/338086):
>
> Hi I want my dashboard to be viewable to limited no of users, but I dont want them to get into login page. Can it be done? I know kibana support anonymous authentication but that will open my dashboard for public which I dont want. TIA

I would recommend following this discussion 🙂

---

<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: [August 10, 2023, 8:39am UTC](https://discuss.elastic.co/t/do-we-need-to-install-nginx-to-bypass-authentication-of-kibana-dashboards-when-embeded-in-an-external-application/338168/6 "2023-08-10T08:39:29Z")

</div>

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