# Kibana 5 front end authentication

**URL:** <https://discuss.elastic.co/t/kibana-5-front-end-authentication/52024>\
**Category:** Kibana\
**Created:** [June 7, 2016, 6:56am UTC](https://discuss.elastic.co/t/kibana-5-front-end-authentication/52024 "2016-06-07T06:56:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![satya\_fury](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@satya\_fury](https://discuss.elastic.co/u/satya_fury)\
**Post date:** [June 7, 2016, 6:56am UTC](https://discuss.elastic.co/t/kibana-5-front-end-authentication/52024/1 "2016-06-07T06:56:03Z")

</div>

Hi I recently got my hands on kibana 5. Want to put front end authentication with the help of node.js and SQL. But I am unable to understand where should I start developing the authentication part?

Sharing your thoughts of program flow is greatly appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [June 7, 2016, 7:10pm UTC](https://discuss.elastic.co/t/kibana-5-front-end-authentication/52024/2 "2016-06-07T19:10:28Z")

</div>

Kibana uses [hapi](http://hapijs.com/) to serve its pages. You could create a Kibana plugin that utilizes hapi's request/response lifecycle hooks to build an authentication plugin for Kibana. You can learn more about creating Kibana plugins here: [https://github.com/elastic/kibana/wiki/Plugin-Resources](https://github.com/elastic/kibana/wiki/Plugin-Resources)

Note that Elastic provides a commercial security plugin for Kibana called Shield (part of x-pack in 5.0 onwards). You can learn more about Shield here: [https://www.elastic.co/products/shield](https://www.elastic.co/products/shield)

---

<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:** [July 6, 2017, 1:51pm UTC](https://discuss.elastic.co/t/kibana-5-front-end-authentication/52024/3 "2017-07-06T13:51:20Z")

</div>


