Kibana Iframe avoid credentials

Hi, I want to embeed a kibana visualization on a page.
I have readonlyrest as a security.
and I use kibana and elastic search 5.6.0

when I embed on the page the visualization. The security ask me again for the user and password and I want to avoid this.

I heard about using CORS but I don't know how to use it.

how can I do this avoiding the login again?

Hey @He_Pamela, if you put a reverse-proxy in front of Kibana (Nginx/Apache/etc.) you can provide the username and password via the Basic authorization headers. Auto-authenticating to iframe-embedded Kibana dashboard describes how to do this using NGINX and the same approach can be adapted if you need this to work with Apache.