# Kibana login without x-pack

**URL:** <https://discuss.elastic.co/t/kibana-login-without-x-pack/192590>\
**Category:** Kibana\
**Created:** [July 29, 2019, 1:14am UTC](https://discuss.elastic.co/t/kibana-login-without-x-pack/192590 "2019-07-29T01:14:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenyjeanreyes](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@kenyjeanreyes](https://discuss.elastic.co/u/kenyjeanreyes)\
**Post date:** [July 29, 2019, 1:14am UTC](https://discuss.elastic.co/t/kibana-login-without-x-pack/192590/1 "2019-07-29T01:14:16Z")

</div>

I am new to Kibana. I have everything doing fine, but i would like to add a login page for authentication of users.

I already edited my kibana.yml with the elasticsearch username and password. But how do i get it to prompt me an authentication before signing into Kibana? It doesnt seem to work as it is.

Also afterwards, I would also want to put a 2-factor authentication. But is it possible to also have an open source 2fa and connect it to Kibana? I really need your help.

I use Kibana 7.2 and ES7.2

Thank you.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 29, 2019, 9:40pm UTC](https://discuss.elastic.co/t/kibana-login-without-x-pack/192590/2 "2019-07-29T21:40:48Z")

</div>

First thing, make sure you are using the Default distribution with at least a Basic license of Elasticsearch and Kibana. Security is not available in the OSS release. Based on the title of your post, I'm not sure that you are currently using the Default distribution (x-pack is required). [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions)

There's a fantastic tutorial for getting started here. [https://www.elastic.co/blog/getting-started-with-elasticsearch-security](https://www.elastic.co/blog/getting-started-with-elasticsearch-security)

Two-factor authentication is on our radar, but not supported yet. We are tracking this enhancement request here: [https://github.com/elastic/kibana/issues/39414](https://github.com/elastic/kibana/issues/39414).

---

<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:** [August 26, 2019, 9:40pm UTC](https://discuss.elastic.co/t/kibana-login-without-x-pack/192590/3 "2019-08-26T21:40:54Z")

</div>

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