# Auto Authentication using .net

**URL:** <https://discuss.elastic.co/t/auto-authentication-using-net/286462>\
**Category:** Kibana\
**Created:** [October 12, 2021, 9:46am UTC](https://discuss.elastic.co/t/auto-authentication-using-net/286462 "2021-10-12T09:46:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabha\_karan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabha_karan/32/95575_2.png) [@prabha\_karan](https://discuss.elastic.co/u/prabha_karan)\
**Post date:** [October 12, 2021, 9:46am UTC](https://discuss.elastic.co/t/auto-authentication-using-net/286462/1 "2021-10-12T09:46:26Z")

</div>

Hi ,i want to use dashboard inside in our web application .so, i pasted iframe inside Html.it rendered in browser with kibana login page. but after entered login credentials it again shows the login page.how to rectify this.Any one suggest the solution.

And i also want to auto login while i call iframe in our application.i don't know how to acheive this.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![sebastien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastien/32/36119_2.png) [@sebastien](https://discuss.elastic.co/u/sebastien)\
**Post date:** [October 12, 2021, 10:12am UTC](https://discuss.elastic.co/t/auto-authentication-using-net/286462/2 "2021-10-12T10:12:54Z")

</div>

Hi @prabha_karan

For that you need to enable [Anonymous authentication](https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#anonymous-authentication). As stated in the docs, make sure that you’ve properly **restricted the capabilities** of the anonymous service account so that anonymous users can’t perform destructive actions.

Thank you,  
Sébastien

---

<div class="post-metadata">

**Author:** ![prabha\_karan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabha_karan/32/95575_2.png) [@prabha\_karan](https://discuss.elastic.co/u/prabha_karan)\
**Post date:** [October 13, 2021, 12:03pm UTC](https://discuss.elastic.co/t/auto-authentication-using-net/286462/3 "2021-10-13T12:03:03Z")

</div>

HI @sebastien After integrating Anonymous Authentication, Inside the iframe it will not go to Dashboard.it refresh simultaneously to login page.

---

<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:** [November 10, 2021, 12:03pm UTC](https://discuss.elastic.co/t/auto-authentication-using-net/286462/4 "2021-11-10T12:03:07Z")

</div>

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