I have integrated the Kibana dashboard "iframe" with my react application. But, each time I have to log-in to see the Kibana dashboard. (FYI: My Kibana version 7.4.0)
So, I have followed a few paths to bypass the authentication mechanism. But, didn't succeed.
Used Nginx proxy to bypass the authentication. However, this is a 50% result. Because the Dashboard URL will be accessible even without logging in to my application.
Tried to pass userName and password as a part of the Kibana iframe URL. But, it didn't work.
I have also seen a few Api's from the elastic search that will provide us Tokens (Please refer below).
If I receive a successful bearer token using the above API. Will I be able to see the dashboard if I append the token with Kibana iframe URL ?
Do I need to make any custom header configurations to send the token as a separate header along with iframe url to make it work?