# Auto-authenticating to iframe-embedded Kibana dashboard

**URL:** <https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091>\
**Category:** Kibana\
**Created:** [April 1, 2016, 7:05pm UTC](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091 "2016-04-01T19:05:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [April 6, 2016, 6:27pm UTC](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/3 "2016-04-06T18:27:56Z")

</div>

> [@jordansparked](#):
>
> Is there any way to programmatically provide the user/password so that the user automatically auths and the dashboard is displayed?

If you are using Shield 2.3, and you have the front-end plugin installed in Kibana, then yes, this is possible. It doesn't work as you've put in your example.

Instead, pass a valid Basic Authorization header with the request will cause Shield will validate the session, creating and using an authorization cookie in the background.

Note that prior to 2.3, I don't believe this was possible at all.

---

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