# Unable to redirect to Kibana from webapp inside IFrame

**URL:** <https://discuss.elastic.co/t/unable-to-redirect-to-kibana-from-webapp-inside-iframe/99586>\
**Category:** Kibana\
**Created:** [September 6, 2017, 1:01pm UTC](https://discuss.elastic.co/t/unable-to-redirect-to-kibana-from-webapp-inside-iframe/99586 "2017-09-06T13:01:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sumit\_monga](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sumit\_monga](https://discuss.elastic.co/u/sumit_monga)\
**Post date:** [September 7, 2017, 6:04am UTC](https://discuss.elastic.co/t/unable-to-redirect-to-kibana-from-webapp-inside-iframe/99586/3 "2017-09-07T06:04:32Z")

</div>

Hi @Brandon_Kobel,  
I am embedding the Kibana main screen as an iframe into a jsp file. My aim is to redirect the user of webapp to Kibana on a button click . My aim is not to open a specific dashboard but the main Kibana page. I am not giving **src** attribute in **iframe** tag to the Kibana url but to a web application endpoint which hits the Kibana url and generates html which is then returned as the src to the iframe. However this I am doing with security disabled for now. PS I have created a custom realm in X-Pack where I will need request headers in the request to validate the user request and authorize the same. I have raised a question regarding the same at [Custom Realm authentication without headers](https://discuss.elastic.co/t/custom-realm-authentication-with-request-query-params-and-not-custom-headers/99264)

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-redirect-to-kibana-from-webapp-inside-iframe/99586)._
