# Authenticating to iframe-embedded Kibana dashboard

**URL:** <https://discuss.elastic.co/t/authenticating-to-iframe-embedded-kibana-dashboard/71129>\
**Category:** Kibana\
**Created:** [January 10, 2017, 5:52pm UTC](https://discuss.elastic.co/t/authenticating-to-iframe-embedded-kibana-dashboard/71129 "2017-01-10T17:52:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [January 23, 2017, 11:50am UTC](https://discuss.elastic.co/t/authenticating-to-iframe-embedded-kibana-dashboard/71129/7 "2017-01-23T11:50:46Z")

</div>

Sorry for the delay, @rupaln and sorry for giving incomplete advice.

I was able to get the Kibana server to respond with a cookie header by POSTing to `/api/security/v1/login` with a JSON request body of

```
{
    "password": "<YOURPASSWORD>",
    "username": "<YOURUSERNAME>"
}

```

and the appropriate `kbn-version: 5.1.1` header.

---

_[View the full topic](https://discuss.elastic.co/t/authenticating-to-iframe-embedded-kibana-dashboard/71129)._
