A way to pass on kibana's authentication credentials from a python flask app?


I have a Flask app that redirects to an kibana instance that populates dashboards and works as expected . However,i'm wondering if there's a way to pass on kibana's credentials via the APP so that the kibana doesnt show the login prompt when there's a new user .

The app redirects to kibana using the iframe (from share option on kibana) , it works fine when we supply the credentials , but i want to know if there's a way to automate this .

Hi @Shreesh_Narayanan ,

Would sharing with anonymous access be a viable option for you? If not, then you'd need to put a proxy in front of Kibana that would send proper credentials via Authorization: Basic base64(username:password) to Kibana. We describe various options here: Authentication in Kibana | Kibana Guide [7.16] | Elastic


1 Like

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