# I'm auto-logged-in as my anonymous user and cannot log in as administrator anymore

**URL:** <https://discuss.elastic.co/t/im-auto-logged-in-as-my-anonymous-user-and-cannot-log-in-as-administrator-anymore/281810>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [August 18, 2021, 10:36am UTC](https://discuss.elastic.co/t/im-auto-logged-in-as-my-anonymous-user-and-cannot-log-in-as-administrator-anymore/281810 "2021-08-18T10:36:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 18, 2021, 2:05pm UTC](https://discuss.elastic.co/t/im-auto-logged-in-as-my-anonymous-user-and-cannot-log-in-as-administrator-anymore/281810/2 "2021-08-18T14:05:18Z")

</div>

See example here

> [@Anonymous Kibana Users](https://discuss.elastic.co/t/anonymous-kibana-users/270071/9):
>
> @caitlyn.carlisle Ok we have it slight_smile If I understand correctly, What you want to accomplish is enable the ability for a user to anonymous login to view Kibana dashboards etc. That is supported in Elastic Cloud, what is not supported is underlying anonymous access to elasticsearch. That is where the confusion lay. So this is how you do it. Reference [Here](https://www.elastic.co/guide/en/kibana/7.12/kibana-authentication.html#anonymous-authentication).. and there is even a little video on it [here](https://www.elastic.co/blog/whats-new-kibana-7-11-0-alerting-generally-available) . Note the docs link to 7.11 so make sure you use the latest. First create the use…

You need to add the basic auth in as well

```auto
xpack.security.authc.providers:
  basic.basic1: <!-- This is the normal login
    order: 0  
  anonymous.anonymous1: <!-- This is the anonymous login
    order: 1
    credentials:
      username: "test"
      password: "askldjfhaslkdjf1654

```

---

_[View the full topic](https://discuss.elastic.co/t/im-auto-logged-in-as-my-anonymous-user-and-cannot-log-in-as-administrator-anymore/281810)._
