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

Hello,

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 .