# Bypassing elastic login when accessing kibana

**URL:** <https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231>\
**Category:** Elastic Security\
**Created:** [February 7, 2025, 2:57pm UTC](https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231 "2025-02-07T14:57:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diler\_Mohammed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diler_mohammed/32/139898_2.png) [@Diler\_Mohammed](https://discuss.elastic.co/u/Diler_Mohammed)\
**Post date:** [February 7, 2025, 2:57pm UTC](https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231/1 "2025-02-07T14:57:40Z")

</div>

Currently I have security enabled for my elk stack. When going to [http://localhost:5601](http://localhost:5601) for Kibana I get a login prompt and I enter the credentials for my elastic username and password. I want to bypass this login screen through some other type of authentication while still having security enabled. Can we configure something in the kibana.yml to allow for this? Also I have nginx installed, is there a way this can be done through reverse proxy?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [February 7, 2025, 5:19pm UTC](https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231/2 "2025-02-07T17:19:32Z")

</div>

Hi @Diler_Mohammed,

You can use Anonymous Authentication, as covered [here](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#anonymous-authentication) in the docs, to bypass the login but ensuring a defined set of roles for any anonymous users. That should give you what you need.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Diler\_Mohammed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diler_mohammed/32/139898_2.png) [@Diler\_Mohammed](https://discuss.elastic.co/u/Diler_Mohammed)\
**Post date:** [February 10, 2025, 2:29pm UTC](https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231/3 "2025-02-10T14:29:10Z")

</div>

Thank you for the reply!

If I'm using anonymous authentication, will this anonymous user be able to access the same information such as indices and dashboards that the elastic user has access too?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [February 10, 2025, 3:39pm UTC](https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231/4 "2025-02-10T15:39:31Z")

</div>

@Diler_Mohammed you can define the privileges the role has via the role management capabilities:

> **[Kibana role management | Kibana Guide \[8.17\] | Elastic](https://www.elastic.co/guide/en/kibana/current/kibana-role-management.html)**

Hope that helps!

---

<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:** [March 10, 2025, 3:40pm UTC](https://discuss.elastic.co/t/bypassing-elastic-login-when-accessing-kibana/374231/5 "2025-03-10T15:40:09Z")

</div>

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