# Auto Login in kibana from winforms application with embeded code browser

**URL:** <https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066>\
**Category:** Kibana\
**Created:** [October 14, 2016, 3:02pm UTC](https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066 "2016-10-14T15:02:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Post date:** [October 14, 2016, 3:02pm UTC](https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066/1 "2016-10-14T15:02:38Z")

</div>

I have a .NET winforms app with an embedded browser and i want to automatically login in Kibana from code so users will see kibana dashboard without having to enter credentails.

Is there any way to pass credentials on URLor basic auth or anyone have done something similar?

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [October 14, 2016, 4:44pm UTC](https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066/2 "2016-10-14T16:44:54Z")

</div>

There isn't a way with credentials in the url on 2.x and 5.x, but it should work with authorization headers.

---

<div class="post-metadata">

**Author:** ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Post date:** [October 14, 2016, 5:21pm UTC](https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066/3 "2016-10-14T17:21:38Z")

</div>

and how can i set authorization headers? how do i login with user/pass and set the auth header token? I am using 5.0

---

<div class="post-metadata">

**Author:** ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Post date:** [October 18, 2016, 5:06pm UTC](https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066/4 "2016-10-18T17:06:22Z")

</div>

@jbudz any more info on how to login and set http auth headers? thanks!

---

<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:36pm UTC](https://discuss.elastic.co/t/auto-login-in-kibana-from-winforms-application-with-embeded-code-browser/63066/5 "2017-07-06T13:36:20Z")

</div>


