# Kibana HTML Login

**URL:** <https://discuss.elastic.co/t/kibana-html-login/59697>\
**Category:** Kibana\
**Created:** [September 2, 2016, 6:44pm UTC](https://discuss.elastic.co/t/kibana-html-login/59697 "2016-09-02T18:44:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [September 2, 2016, 6:44pm UTC](https://discuss.elastic.co/t/kibana-html-login/59697/1 "2016-09-02T18:44:10Z")

</div>

Hi Team,  
Is there a way to configure HTML WebSSO on Kibana server?

Currently i have implemented shield (integrated with AD) and kibana is populating a window for user authentication. We have setup an identity management tool which does auto logon. This tool expects a "HTML WebSSO" to pass user authorization but there is not such option.

We reach out to the tool support and they are exploring options in the mean time they suggested if we can setup HTML for Kibana (curl for kibana server) then it would work. We tried below in that call, please suggest.

curl -XGET http://-----:5601

curl --user test1 -XGET http://-----:5601  
Enter host password for user 'test1':

var hashRoute = '/app/kibana'; var defaultRoute = '/app/kibana'; var hash = window.location.hash; if (hash.length) { window.location = hashRoute + hash; } else { window.location = defaultRoute; } Thanks & Regards,

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [September 7, 2016, 7:48pm UTC](https://discuss.elastic.co/t/kibana-html-login/59697/2 "2016-09-07T19:48:35Z")

</div>

Hi there,

Hmm I'm not sure I understand what you're trying to do. It sounds like you're trying to implement SSO for Kibana, but I'm not sure what you mean by "HTML WebSSO", and I'm not sure what you're trying to do with the code you pasted. Could you please clarify what you mean by "HTML WebSSO", and elaborate more on what you're trying to do with your code and where you're running into problems with it?

In terms of using SSO with Kibana, here are a couple threads which cover the topic:

- [Shield with SSO](https://discuss.elastic.co/t/shield-with-sso/39347)
- [Shield supports single sign on](https://discuss.elastic.co/t/shield-supports-single-sign-on/28327)

Please let me know if this helps!

Thanks,  
CJ

---

<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:39pm UTC](https://discuss.elastic.co/t/kibana-html-login/59697/3 "2017-07-06T13:39:24Z")

</div>


