# How to Auto login into embedded iframe on Kiosk mode screen

**URL:** <https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807>\
**Category:** Kibana\
**Created:** [June 14, 2019, 8:49am UTC](https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807 "2019-06-14T08:49:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris4](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Chris4](https://discuss.elastic.co/u/Chris4)\
**Post date:** [June 14, 2019, 8:49am UTC](https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807/1 "2019-06-14T08:49:31Z")

</div>

We use Kibana 7.1.0

We use a forwarding website on a windows IIS webserver which sends the browser to a full screen kibana dashboard. This computer is automatically restarting once a day and should auto open this monitor dashboard in kiosk mode. there is no keyboard connected on this screen.

Currently we have the **issue to log in manually**. **How can we set up a automatic log-in so that the dashboard shows the content automatic** ally.

```
<html>
	<head>
		<meta http-equiv="refresh" content="1; URL=https://8d2773dc534c4ed7a1f791........... )">
	</head>
	<body>
		<h1>Weiterleitung an Kibana</h1>
		<p>Falls Ihr Browser keine automatische Weiterleitung unterstützt, <a href="https://8d2773dc534c4ed7a1f791........... >klicken Sie hier</a>!</p>
	</body>
</html>
```

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [June 14, 2019, 9:11am UTC](https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807/2 "2019-06-14T09:11:44Z")

</div>

Hi @Chris4,

The current recommended way of doing this is to rely on reverse proxy in front of Kibana to supply `Authorization: Basic ***` header, like explained [here](https://discuss.elastic.co/t/auto-authenticating-to-iframe-embedded-kibana-dashboard/46091/4) for NGINX. I don't have examples with IIS, but the idea is the same: attribute every request to Kibana with `Authorization: Basic***` HTTP header.

Best,  
Oleg

---

<div class="post-metadata">

**Author:** ![Chris4](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Chris4](https://discuss.elastic.co/u/Chris4)\
**Post date:** [June 14, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807/3 "2019-06-14T09:39:47Z")

</div>

Thanks @azasypkin can you help with IIS documentation for this reverse proxy ?

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [June 14, 2019, 10:02am UTC](https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807/4 "2019-06-14T10:02:13Z")

</div>

Sorry, I don't have any great references handy and the admin that manages your IIS should know better which URL rewrite rules are acceptable for your setup. Kibana doesn't require any special proxy setup.

The first links from Google look promising: [one](https://blogs.msdn.microsoft.com/friis/2016/08/25/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world-apps/) or [two](https://blogs.msdn.microsoft.com/friis/2016/08/25/iis-with-url-rewrite-as-a-reverse-proxy-part-2-dealing-with-500-52-status-codes/) though.

---

<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 12, 2019, 10:02am UTC](https://discuss.elastic.co/t/how-to-auto-login-into-embedded-iframe-on-kiosk-mode-screen/185807/5 "2019-07-12T10:02:21Z")

</div>

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