# How to avoid double authentincation?

**URL:** <https://discuss.elastic.co/t/how-to-avoid-double-authentincation/90593>\
**Category:** Kibana\
**Created:** [June 23, 2017, 8:07am UTC](https://discuss.elastic.co/t/how-to-avoid-double-authentincation/90593 "2017-06-23T08:07:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsevolodk](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@vsevolodk](https://discuss.elastic.co/u/vsevolodk)\
**Post date:** [June 23, 2017, 8:07am UTC](https://discuss.elastic.co/t/how-to-avoid-double-authentincation/90593/1 "2017-06-23T08:07:27Z")

</div>

Hi, please help.  
I have my own http basic authentication engine for elasticsearch.  
And I want authenticate to kibana via elasticsearch.  
I use elasticsearch.username and elasticsearch.password properties.  
But kibana asks me user/password twice.  
How I can change this behavior?  
Does kibana-authentication-proxy plugin resolve this problem?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [June 23, 2017, 8:34pm UTC](https://discuss.elastic.co/t/how-to-avoid-double-authentincation/90593/2 "2017-06-23T20:34:40Z")

</div>

The requests to Elasticsearch are proxied through Kibana so authentication bubbles up for the request. `elasticsearch.username` and `elasticsearch.password` are for tasks where is request is not available, like initially creating the Kibana index.

I am not familiar with the plugin mentioned. We have security as part of X-Pack, which comes with a 30-day trial. You can read more about it [here](https://www.elastic.co/products/x-pack/security).

---

<div class="post-metadata">

**Author:** ![vsevolodk](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@vsevolodk](https://discuss.elastic.co/u/vsevolodk)\
**Post date:** [June 27, 2017, 8:50am UTC](https://discuss.elastic.co/t/how-to-avoid-double-authentincation/90593/3 "2017-06-27T08:50:19Z")

</div>

@tsmalley thank you for inforamtion

---

<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:** [July 25, 2017, 8:50am UTC](https://discuss.elastic.co/t/how-to-avoid-double-authentincation/90593/4 "2017-07-25T08:50:20Z")

</div>

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