# Web Frame Card with authentication

**URL:** <https://community.openhab.org/t/web-frame-card-with-authentication/151460>\
**Category:** Beginners\
**Created:** [November 22, 2023, 8:42pm UTC](https://community.openhab.org/t/web-frame-card-with-authentication/151460 "2023-11-22T20:42:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ra\_dzik](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@ra\_dzik](https://community.openhab.org/u/ra_dzik)\
**Post date:** [November 22, 2023, 8:42pm UTC](https://community.openhab.org/t/web-frame-card-with-authentication/151460/1 "2023-11-22T20:42:11Z")

</div>

Hello,

on the main page of OHAB I would like to use widget “Web Frame Card” but the web site is protected by login/password.

I’m trying to put the URL as following:  
[https://www.server.com/page.php?login=MyLogin&password=MyPassword](https://www.server.com/page.php?login=MyLogin&password=MyPassword)

but unfortunately the parameters in the URL (log/pass) are not accepted and OHAB asking me for login and password ☹  
How to configure URL to the page protected by log/pass?

---

<div class="post-metadata">

**Author:** ![JustinG](https://community.openhab.org/user_avatar/community.openhab.org/justing/32/55948_2.png) [@JustinG](https://community.openhab.org/u/JustinG)\
**Post date:** [November 23, 2023, 3:01pm UTC](https://community.openhab.org/t/web-frame-card-with-authentication/151460/2 "2023-11-23T15:01:54Z")

</div>

There is nothing unusual about OH’s web frame card, so this is just a standard html question. Much of this is going to depend on the web page you are trying to log into, so you really are better off working through the support for that web page.

That said, html does not support setting user and password via query parameters, but if your page is using basic authentication, then it should support something like [https://username:password@your.page.url](https://username:password@your.page.url)

---

<div class="post-metadata">

**Author:** ![ra\_dzik](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@ra\_dzik](https://community.openhab.org/u/ra_dzik)\
**Post date:** [November 23, 2023, 7:09pm UTC](https://community.openhab.org/t/web-frame-card-with-authentication/151460/3 "2023-11-23T19:09:24Z")

</div>

> [@JustinG](#):
>
> [https://username:password@your.page.url](https://username:password@your.page.url)

Unfortunatelly in this way - it doesn’t works too ☹
