# Not able to bypass Kibana authentication from Angular application

**URL:** <https://discuss.elastic.co/t/not-able-to-bypass-kibana-authentication-from-angular-application/240995>\
**Category:** Kibana\
**Created:** [July 13, 2020, 2:26pm UTC](https://discuss.elastic.co/t/not-able-to-bypass-kibana-authentication-from-angular-application/240995 "2020-07-13T14:26:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRACHI\_GUPTA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prachi_gupta/32/71854_2.png) [@PRACHI\_GUPTA](https://discuss.elastic.co/u/PRACHI_GUPTA)\
**Post date:** [July 13, 2020, 2:26pm UTC](https://discuss.elastic.co/t/not-able-to-bypass-kibana-authentication-from-angular-application/240995/1 "2020-07-13T14:26:15Z")

</div>

hi,

I am using iframe to embed kibana dashboards in my angular application. I am not getting how to bypass authentication using nginx. Please help.

Also, Is it possible to have role based dashboards using basic authentication. If yes, please let me know how to do that?

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [July 20, 2020, 8:49pm UTC](https://discuss.elastic.co/t/not-able-to-bypass-kibana-authentication-from-angular-application/240995/2 "2020-07-20T20:49:01Z")

</div>

Hi @PRACHI_GUPTA,

Regarding your first issue, I believe the best way would be to try the solution discussed on [Auto-authenticating to iframe-embedded Kibana dashboard](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/4).

For the second one, do you think Kibana Spaces [https://www.elastic.co/guide/en/kibana/7.8/xpack-spaces.html](https://www.elastic.co/guide/en/kibana/7.8/xpack-spaces.html) would fit your needs?

Cheers

---

<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 17, 2020, 8:49pm UTC](https://discuss.elastic.co/t/not-able-to-bypass-kibana-authentication-from-angular-application/240995/3 "2020-08-17T20:49:05Z")

</div>

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