# Pass auth ldap authentication to Kibana for iframe

**URL:** <https://discuss.elastic.co/t/pass-auth-ldap-authentication-to-kibana-for-iframe/93764>\
**Category:** Kibana\
**Created:** [July 19, 2017, 1:06pm UTC](https://discuss.elastic.co/t/pass-auth-ldap-authentication-to-kibana-for-iframe/93764 "2017-07-19T13:06:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehdi\_Chilla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehdi_chilla/32/17579_2.png) [@Mehdi\_Chilla](https://discuss.elastic.co/u/Mehdi_Chilla)\
**Post date:** [July 19, 2017, 1:06pm UTC](https://discuss.elastic.co/t/pass-auth-ldap-authentication-to-kibana-for-iframe/93764/1 "2017-07-19T13:06:53Z")

</div>

Hello,

I have an angularjs app that loads dashboards that I want to share with users with read-only privileges.  
My users authenticate via ldap (LDAP authentication by the apache front end that hosts my application support) and do so that the ldap id provided during the apache auth is passed to elasticsearch / kibana automatically to display the iframe.

Is it possible ?

Thank you in advance .

Mehdi

---

<div class="post-metadata">

**Author:** ![json](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/json/32/4125_2.png) [@json](https://discuss.elastic.co/u/json)\
**Post date:** [July 21, 2017, 12:32pm UTC](https://discuss.elastic.co/t/pass-auth-ldap-authentication-to-kibana-for-iframe/93764/2 "2017-07-21T12:32:14Z")

</div>

All authentication is performed by the backend Elasticsearch cluster, including LDAP, so you'd only be concerned with passing a Basic authentication header to Kibana for loading the iframe. There are security implications for doing something on the client. I would suggest trying something more like [Auto-authenticating to iframe-embedded Kibana dashboard](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/3).

---

<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:** [August 18, 2017, 12:32pm UTC](https://discuss.elastic.co/t/pass-auth-ldap-authentication-to-kibana-for-iframe/93764/3 "2017-08-18T12:32:16Z")

</div>

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