# Not able to access my Kibana dashboard URL from angular with x-pack security turned on

**URL:** <https://discuss.elastic.co/t/not-able-to-access-my-kibana-dashboard-url-from-angular-with-x-pack-security-turned-on/258390>\
**Category:** Kibana\
**Created:** [December 11, 2020, 9:16am UTC](https://discuss.elastic.co/t/not-able-to-access-my-kibana-dashboard-url-from-angular-with-x-pack-security-turned-on/258390 "2020-12-11T09:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam189](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam189/32/78403_2.png) [@sam189](https://discuss.elastic.co/u/sam189)\
**Post date:** [December 11, 2020, 9:16am UTC](https://discuss.elastic.co/t/not-able-to-access-my-kibana-dashboard-url-from-angular-with-x-pack-security-turned-on/258390/1 "2020-12-11T09:16:35Z")

</div>

Disabling x-pack security in kibana alllows me to access the kibana dashboard in my angular application but when i enable xpack i cannot access the kibana dashboard in my angular iframe.  
I am passing username and password in the kibana URL which i am then accessing through my iframe code.

How can I access the iframe url from my angular application with x-pack security in kibana.yml turned on?

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [December 17, 2020, 10:55am UTC](https://discuss.elastic.co/t/not-able-to-access-my-kibana-dashboard-url-from-angular-with-x-pack-security-turned-on/258390/2 "2020-12-17T10:55:45Z")

</div>

There is a good answer [Kibana default basic auth](https://discuss.elastic.co/t/kibana-default-basic-auth/86045/2)

---

<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:** [January 14, 2021, 10:55am UTC](https://discuss.elastic.co/t/not-able-to-access-my-kibana-dashboard-url-from-angular-with-x-pack-security-turned-on/258390/3 "2021-01-14T10:55:52Z")

</div>

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