# Unable to get the Dashboards after Enabling Security Headers

**URL:** <https://discuss.elastic.co/t/unable-to-get-the-dashboards-after-enabling-security-headers/309878>\
**Category:** Kibana\
**Created:** [July 18, 2022, 10:23am UTC](https://discuss.elastic.co/t/unable-to-get-the-dashboards-after-enabling-security-headers/309878 "2022-07-18T10:23:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nisha\_Shaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nisha_shaik/32/91866_2.png) [@Nisha\_Shaik](https://discuss.elastic.co/u/Nisha_Shaik)\
**Post date:** [July 18, 2022, 10:23am UTC](https://discuss.elastic.co/t/unable-to-get-the-dashboards-after-enabling-security-headers/309878/1 "2022-07-18T10:23:53Z")

</div>

Hi Team ,

We have an Angular Web application which we have hosted on Nginx , we also configured Kibana Dashboards ( we configured nginx reverse proxy to access kibana dashboards directly via Angular app) .

We have included Security Headers like X-xss protection, CSP etc for our Angular application which is working fine, but for kibana its asking for login page again inside the Angular app . Please find the Error logs

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

In other environments where we haven't configured security headers we are directly getting the dashboards

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/3/1348f67a72b8cb42749012828ac6a6a667fdb88b.png)

Kindly help us on the issue

Note: For testing i have enabled csp.strict: true still same error

Thanks  
Nisharunnisa

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [July 23, 2022, 5:47pm UTC](https://discuss.elastic.co/t/unable-to-get-the-dashboards-after-enabling-security-headers/309878/2 "2022-07-23T17:47:56Z")

</div>

We don't recommend using the reverse proxy for iframes, we now recommend using anonymous authentication.

---

<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 20, 2022, 5:48pm UTC](https://discuss.elastic.co/t/unable-to-get-the-dashboards-after-enabling-security-headers/309878/3 "2022-08-20T17:48:26Z")

</div>

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