# Auto-Authentication to Kibana

**URL:** <https://discuss.elastic.co/t/auto-authentication-to-kibana/242837>\
**Category:** Kibana\
**Created:** [July 28, 2020, 6:34am UTC](https://discuss.elastic.co/t/auto-authentication-to-kibana/242837 "2020-07-28T06:34:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edmond\_Legaspi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edmond_legaspi/32/60212_2.png) [@Edmond\_Legaspi](https://discuss.elastic.co/u/Edmond_Legaspi)\
**Post date:** [July 28, 2020, 6:34am UTC](https://discuss.elastic.co/t/auto-authentication-to-kibana/242837/1 "2020-07-28T06:34:21Z")

</div>

Hi,

My requirement is:  
after users login to our website, they do not need to key in account/password again in order to access kibana. Please note that reverse proxy approach will probably not solve my problem. There are two main issues with that approach.  
1- I'm using kibana in elastic cloud, how can I create a reverse proxy for it ?  
2- My credentials are dynamically generated, I don't know them in advance so I can't put them in a static config.

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [August 11, 2020, 6:52pm UTC](https://discuss.elastic.co/t/auto-authentication-to-kibana/242837/2 "2020-08-11T18:52:27Z")

</div>

Hi @Edmond_Legaspi,

to avoid typing the credentials directly, you can, after making sure it's secure in your case, try using the url that automatically logins the user : `https://[USERNAME]:[PASSWORD]@[KIBANA_CLOUD_URL]` instead of just `https://[KIBANA_CLOUD_URL]`

Regards,  
Marta

---

<div class="post-metadata">

**Author:** ![Edmond\_Legaspi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edmond_legaspi/32/60212_2.png) [@Edmond\_Legaspi](https://discuss.elastic.co/u/Edmond_Legaspi)\
**Post date:** [August 28, 2020, 11:02am UTC](https://discuss.elastic.co/t/auto-authentication-to-kibana/242837/3 "2020-08-28T11:02:17Z")

</div>

Hi Marta,

I've been trying to access my kibana on `https://[USERNAME]:[PASSWORD]@[KIBANA_CLOUD_URL]` but it just redirects to me `KIBANA_CLOUD_URL/login?next=%2F`. Am I missing something?

Thanks,

---

<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:** [September 25, 2020, 11:02am UTC](https://discuss.elastic.co/t/auto-authentication-to-kibana/242837/4 "2020-09-25T11:02:20Z")

</div>

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