# Kibana SAML iframe request canceled and redirect to the kibana page

**URL:** <https://discuss.elastic.co/t/kibana-saml-iframe-request-canceled-and-redirect-to-the-kibana-page/265315>\
**Category:** Kibana\
**Created:** [February 24, 2021, 10:14am UTC](https://discuss.elastic.co/t/kibana-saml-iframe-request-canceled-and-redirect-to-the-kibana-page/265315 "2021-02-24T10:14:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vapetri](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@vapetri](https://discuss.elastic.co/u/vapetri)\
**Post date:** [February 24, 2021, 10:14am UTC](https://discuss.elastic.co/t/kibana-saml-iframe-request-canceled-and-redirect-to-the-kibana-page/265315/1 "2021-02-24T10:14:19Z")

</div>

Hi,  
I have an issue with a Kibana(v6.8) SAML integration with Oracle OAM stack.  
Kibana dashboards and visualizations are used as an iframe in another application.  
Now when I login also via SAML in that application I should remain on the page of that application. The issue is that the iframe is not losing, but i am redirected to the default page of kibana.  
In Debug mode i see the first saml canceled by the browser as in the attached picture. After we see the secondary saml post which has the location cookie to the kibana default page and that is why i understand the redirect.  
Now, can you give me any hint why the initial request saml is canceled?

 ![kibana saml cancel](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f28fc9de89e1986dddac7841df4448158ecee44.png)

Thank you very much for help,  
Victor

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [February 24, 2021, 1:31pm UTC](https://discuss.elastic.co/t/kibana-saml-iframe-request-canceled-and-redirect-to-the-kibana-page/265315/2 "2021-02-24T13:31:21Z")

</div>

Hey @vapetri,

If I understand your problem correctly, it sounds like you're hitting a known limitation of the 6.8 release, where Kibana would "forget" the requested URL in the middle of the SAML handshake: [SAML redirect and Kibana's hash based routing · Issue #18392 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/18392)

We resolved this in the 7.5 release via [https://github.com/elastic/kibana/pull/44513](https://github.com/elastic/kibana/pull/44513)

---

<div class="post-metadata">

**Author:** ![vapetri](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@vapetri](https://discuss.elastic.co/u/vapetri)\
**Post date:** [February 24, 2021, 2:03pm UTC](https://discuss.elastic.co/t/kibana-saml-iframe-request-canceled-and-redirect-to-the-kibana-page/265315/3 "2021-02-24T14:03:16Z")

</div>

Hi Larry,  
Indeed. i will try to update the environment to 7.X and let you know.  
Thank you,  
Victor

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 24, 2021, 2:03pm UTC](https://discuss.elastic.co/t/kibana-saml-iframe-request-canceled-and-redirect-to-the-kibana-page/265315/4 "2021-03-24T14:03:27Z")

</div>

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