# After enabling user authenication, not able to login

**URL:** <https://discuss.elastic.co/t/after-enabling-user-authenication-not-able-to-login/206013>\
**Category:** Kibana\
**Created:** [October 31, 2019, 9:55am UTC](https://discuss.elastic.co/t/after-enabling-user-authenication-not-able-to-login/206013 "2019-10-31T09:55:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [October 31, 2019, 9:55am UTC](https://discuss.elastic.co/t/after-enabling-user-authenication-not-able-to-login/206013/1 "2019-10-31T09:55:15Z")

</div>

Hi All,  
Good afternoon  
I have tried userauthenication by referring the docs  
[https://www.elastic.co/guide/en/elasticsearch/reference/7.4/built-in-users.html](http://Built-In-Users)  
had run the command

> bin/elasticsearch-setup-passwords interactive

reset all the users password to "123456"

Now when I try to login to the kiaba interface with "user" "kibana" with password "123456" , it is not allowing me to login, it is saying message as

> | statusCode | 403 |
> | --- | --- |
> | error | "Forbidden" |
> | message | "Forbidden" |

Screen shot attached!,

Guidance requested on pointing out where I could have gone wrong

 ![KibanaUserNotallowing](https://us1.discourse-cdn.com/elastic/original/3X/9/8/98ea4b65d1fea5237ce6fc6c22c84c21e9fa2c93.png)

**Kibana version** :  
7.4.1   
**Elasticsearch version** :  
7.4.1  
**APM Server version** :  
7.4.1  
\*\*filebeat version \*\*  
7.4.1  
**APM Agent language and version** :  
NA  
**Logstash version**  
7.4.1-1  
**Browser version** :  
Firefox 70

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [October 31, 2019, 10:25am UTC](https://discuss.elastic.co/t/after-enabling-user-authenication-not-able-to-login/206013/2 "2019-10-31T10:25:06Z")

</div>

Solved  
You should login as "elastic"  
not as kibana user

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [November 18, 2019, 4:19pm UTC](https://discuss.elastic.co/t/after-enabling-user-authenication-not-able-to-login/206013/3 "2019-11-18T16:19:38Z")

</div>

Also, it's not recommended to use the "elastic" user as a daily login. Consider it an "admin" account that you use to create day-to-day users.

---

<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:** [December 16, 2019, 4:28pm UTC](https://discuss.elastic.co/t/after-enabling-user-authenication-not-able-to-login/206013/4 "2019-12-16T16:28:56Z")

</div>

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