# Unable to Login to Kibana using newly created user

**URL:** https://discuss.elastic.co/t/unable-to-login-to-kibana-using-newly-created-user/195123
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [August 14, 2019, 1:09am UTC](https://discuss.elastic.co/t/unable-to-login-to-kibana-using-newly-created-user/195123 "2019-08-14T01:09:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![matthew.whill](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@matthew.whill](https://discuss.elastic.co/u/matthew.whill)
#### Post date: [August 14, 2019, 1:09am UTC](https://discuss.elastic.co/t/unable-to-login-to-kibana-using-newly-created-user/195123/1 "2019-08-14T01:09:57Z")

</div>

I login to Kibana successfully using the "elastic" user account. I create a new user (username: test), I assign a password and also assign the role of "superuser" (the same as the "elastic" user).

I logout of Kibana, clear cache and then open the browser fresh and attempt to login using the new "test" user account. When I click "Log In" I receive "Invalid username or password. Please try again.".

I login in again using the "elastic" user (successfully) and then change the password on "test" to something else. Try the login process again and I get the same error.

Any thoughts on what the issue could be?

Cheers  
Matt

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [August 14, 2019, 1:28am UTC](https://discuss.elastic.co/t/unable-to-login-to-kibana-using-newly-created-user/195123/2 "2019-08-14T01:28:17Z")

</div>

What does your elasticsearch.yml look like? Is the native realm enabled (it is by default, but it's easy to accidentally disable it)?

---

<div class="post-metadata">

### Author: ![matthew.whill](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@matthew.whill](https://discuss.elastic.co/u/matthew.whill)
#### Post date: [August 14, 2019, 2:10am UTC](https://discuss.elastic.co/t/unable-to-login-to-kibana-using-newly-created-user/195123/3 "2019-08-14T02:10:40Z")

</div>

Thanks @TimV that was it - I thought I had removed the realm setting - but clearly i did not Ctrl-O Enter before closing.

---

<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: [September 11, 2019, 2:10am UTC](https://discuss.elastic.co/t/unable-to-login-to-kibana-using-newly-created-user/195123/4 "2019-09-11T02:10:42Z")

</div>

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