How to Auto Login Kibana Dashboard which embedded in Iframe

We are using Angular 8 and Kibana 7.7. Need to auto login Kibana dashboard which is embedded in Iframe.

Tried to login (from our frontend which running in Angular8) via API POST "/internal/security/login" with username and password but cors error coming. made changes kibana.yml and elasticsearch.yml for cors.

Without Reverse proxy any other solution for auto login in Kibana Iframe dashboard?

Anonymous iframe access requires a reverse proxy setup. You can find an example of nginx configuration at Auto-authenticating to iframe-embedded Kibana dashboard

Here is an open issue https://github.com/elastic/kibana/issues/18331 that you can track for supporting anonymous iframe access without a reverse proxy.

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