# Skip login page for anonymous Kibana access

**URL:** <https://forum.opensearch.org/t/skip-login-page-for-anonymous-kibana-access/5674>\
**Category:** Security\
**Created:** [April 19, 2021, 3:19pm UTC](https://forum.opensearch.org/t/skip-login-page-for-anonymous-kibana-access/5674 "2021-04-19T15:19:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgutchess](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@dgutchess](https://forum.opensearch.org/u/dgutchess)\
**Post date:** [April 19, 2021, 3:19pm UTC](https://forum.opensearch.org/t/skip-login-page-for-anonymous-kibana-access/5674/1 "2021-04-19T15:19:13Z")

</div>

After setting opendistro\_security.auth.anonymous\_auth\_enabled = true in kibana.yml, and setting up a role/role mapping for the anonymous user, I still get re-directed to a login page when going to [https://servername:5601](https://servername:5601). I eventually figured out that I can type anything for username and password, and I’m logged in as the opendistro\_security\_anonymous user. Is there a way to bypass this login page?

---

<div class="post-metadata">

**Author:** ![dblock](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/dblock/32/1350_2.png) [@dblock](https://forum.opensearch.org/u/dblock)\
**Post date:** [April 21, 2021, 2:24pm UTC](https://forum.opensearch.org/t/skip-login-page-for-anonymous-kibana-access/5674/2 "2021-04-21T14:24:16Z")

</div>

This sounds like a bug to me, open an issue in [OpenSearch-Dashboards](https://github.com/opensearch-project/OpenSearch-Dashboards)?

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [August 23, 2021, 3:12pm UTC](https://forum.opensearch.org/t/skip-login-page-for-anonymous-kibana-access/5674/3 "2021-08-23T15:12:02Z")

</div>

@dgutchess

The workaround in the ODFE is to use https://\<kibana\_server\>:5601/auth/anonymous.  
It has been fixed in OpenSearch.

[https://github.com/opensearch-project/security-dashboards-plugin/commit/fdaff816bfeb66ccee517d5ba6e4cbe5724d828f](https://github.com/opensearch-project/security-dashboards-plugin/commit/fdaff816bfeb66ccee517d5ba6e4cbe5724d828f)
