# I want to implement automatic user login to a Kibana dashboard from a web application

**URL:** <https://discuss.elastic.co/t/i-want-to-implement-automatic-user-login-to-a-kibana-dashboard-from-a-web-application/337233>\
**Category:** Kibana\
**Created:** [June 29, 2023, 6:38pm UTC](https://discuss.elastic.co/t/i-want-to-implement-automatic-user-login-to-a-kibana-dashboard-from-a-web-application/337233 "2023-06-29T18:38:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilshadpaleri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dilshadpaleri/32/119808_2.png) [@dilshadpaleri](https://discuss.elastic.co/u/dilshadpaleri)\
**Post date:** [June 29, 2023, 6:38pm UTC](https://discuss.elastic.co/t/i-want-to-implement-automatic-user-login-to-a-kibana-dashboard-from-a-web-application/337233/1 "2023-06-29T18:38:20Z")

</div>

I want to implement automatic user login to a Kibana dashboard from a web application. I have successfully enabled x-pack security and attempted to authenticate users through the HTTP header. However, I am facing an issue with the preflight CORS error. I am looking for alternative solutions to achieve auto-login functionality without using Single Sign-On (SSO) and reverse proxy approach.

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [July 5, 2023, 9:05am UTC](https://discuss.elastic.co/t/i-want-to-implement-automatic-user-login-to-a-kibana-dashboard-from-a-web-application/337233/2 "2023-07-05T09:05:55Z")

</div>

> [@dilshadpaleri](#):
>
> automatic user login to a Kibana

Hi @dilshadpaleri

Since you are looking at SSO alternatives I suggest looking into anonymous authentication.  
This [post](https://discuss.elastic.co/t/kibana-auto-login-with-security-enabled/292934/2) gives a good overview and links to the official documentation.

Regards, Dima

---

<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 2, 2023, 9:06am UTC](https://discuss.elastic.co/t/i-want-to-implement-automatic-user-login-to-a-kibana-dashboard-from-a-web-application/337233/3 "2023-08-02T09:06:40Z")

</div>

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