Unable to get the Dashboards after Enabling Security Headers

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

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

Kindly help us on the issue

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


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