# Embedded code not working

**URL:** <https://discuss.elastic.co/t/embedded-code-not-working/320307>\
**Category:** Kibana\
**Created:** [December 2, 2022, 12:04am UTC](https://discuss.elastic.co/t/embedded-code-not-working/320307 "2022-12-02T00:04:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akjal](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Akjal](https://discuss.elastic.co/u/Akjal)\
**Post date:** [December 2, 2022, 12:04am UTC](https://discuss.elastic.co/t/embedded-code-not-working/320307/1 "2022-12-02T00:04:57Z")

</div>

Hello there,

Having some issues rendering the embedded iframe code link from kibana to other platforms. For some reason it works when I run it on a local static file, but does not work when I test it on public platform such as codepen or hackmd.  
Is there some issue I am not aware of ?

Here is the link:

works on local static file:

 ![local](https://us1.discourse-cdn.com/elastic/original/3X/3/2/32fa885d23b9cf54607a3be3184920019002c7ee.png)

does not work on public websites:

 ![public](https://us1.discourse-cdn.com/elastic/original/3X/4/4/4497d7588297bab9f51ca1f1184eeb6436ab7e2f.png)

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [December 2, 2022, 5:17pm UTC](https://discuss.elastic.co/t/embedded-code-not-working/320307/2 "2022-12-02T17:17:21Z")

</div>

Hi @Akjal ,

There could be multiple reasons for the issue, but I would start with authentication check.

> **[Authentication in Kibana | Kibana Guide \[8.5\] | Elastic](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#embedded-content-authentication)**
>
> A list of the supported authentication mechanisms in Kibana.

There is an github [issue](https://github.com/elastic/kibana/issues/91590#issue-809729003) with step by step ES/Kibana configuration that you can use to verify your setup.

Regards, Dima

---

<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:** [December 30, 2022, 2:21pm UTC](https://discuss.elastic.co/t/embedded-code-not-working/320307/3 "2022-12-30T14:21:35Z")

</div>



---

<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:** [January 27, 2023, 2:21pm UTC](https://discuss.elastic.co/t/embedded-code-not-working/320307/4 "2023-01-27T14:21:50Z")

</div>

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