# \#authentication

**URL:** https://community.openhab.org/tag/authentication/336.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Http Binding dynamic headers (short lived tokens)?](https://community.openhab.org/t/http-binding-dynamic-headers-short-lived-tokens/162502)

<div class="topic-metadata">

**Author:** [@LeeC77](https://community.openhab.org/u/LeeC77)\
**Replies:** 2\
**Last updated:** [February 17, 2025, 5:32pm UTC](https://community.openhab.org/t/http-binding-dynamic-headers-short-lived-tokens/162502 "2025-02-17T17:32:22Z")

</div>

Hi Not been able to find the answer to my question in the documentation or in this community, so I though I would ask. Is it possible to use the http binding and change the header dynamically perhaps similarly to how y…

---

## [Using Authelia for remote authentication, it possible?](https://community.openhab.org/t/using-authelia-for-remote-authentication-it-possible/160298)

<div class="topic-metadata">

**Author:** [@zovirax](https://community.openhab.org/u/zovirax)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 4:01pm UTC](https://community.openhab.org/t/using-authelia-for-remote-authentication-it-possible/160298 "2024-11-18T16:01:11Z")

</div>

In my homelab environment , I am using Authelia + traefik + cloudflare for access remotely to application. Authelia provide 2FA. It possible to using it for openhab for remote Access? there are many openid-connect in…

---

## [Nginx Reverse Proxy Authentication](https://community.openhab.org/t/nginx-reverse-proxy-authentication/157784)

<div class="topic-metadata">

**Author:** [@L\_B](https://community.openhab.org/u/L_B)\
**Replies:** 2\
**Last updated:** [August 13, 2024, 4:15pm UTC](https://community.openhab.org/t/nginx-reverse-proxy-authentication/157784 "2024-08-13T16:15:32Z")

</div>

I am trying to force authentication on any user that attempts to access OpenHAB, I basically want to do the following: access openhab (localhost:8080 or :8080) → redirect to nginx authentication page → redirect back to …

---

## [Restrict access to Basic UI](https://community.openhab.org/t/restrict-access-to-basic-ui/157751)

<div class="topic-metadata">

**Author:** [@L\_B](https://community.openhab.org/u/L_B)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 12:57pm UTC](https://community.openhab.org/t/restrict-access-to-basic-ui/157751 "2024-08-12T12:57:53Z")

</div>

I am trying to restrict access to Basic UI, or generally logged out users, I have tried disabling the implicit user role flag but I get this error: I am already logged in as admin so I should be able to use the Basic…

---

## [/rest/sitemaps returning 401 even when authenticated with Implicit user role turned off](https://community.openhab.org/t/rest-sitemaps-returning-401-even-when-authenticated-with-implicit-user-role-turned-off/154074)

<div class="topic-metadata">

**Author:** [@chuci](https://community.openhab.org/u/chuci)\
**Replies:** 2\
**Last updated:** [February 22, 2024, 11:09am UTC](https://community.openhab.org/t/rest-sitemaps-returning-401-even-when-authenticated-with-implicit-user-role-turned-off/154074 "2024-02-22T11:09:09Z")

</div>

Hi there, I’ve got a local 4.1 install running behind nginx with SSL using the build-in auth (i.e. no basic auth in nginx, just a straight pass through). I want to disable “Implicit user role” for the rest API but this …

---

## [Support secure authentication with Passkey](https://community.openhab.org/t/support-secure-authentication-with-passkey/153037)

<div class="topic-metadata">

**Author:** [@nelson.aponte](https://community.openhab.org/u/nelson.aponte)\
**Replies:** 5\
**Last updated:** [January 17, 2024, 11:01am UTC](https://community.openhab.org/t/support-secure-authentication-with-passkey/153037 "2024-01-17T11:01:21Z")

</div>

Hi, everyone. I believe it’s about time we improve the security of the platform. Therefore, I created the following issue on GitHub: I recently watched a couple of amazing videos about OH, where the author suggests no…

---

## [Basic usage of Rest API](https://community.openhab.org/t/basic-usage-of-rest-api/126042)

<div class="topic-metadata">

**Author:** [@hal\_sk](https://community.openhab.org/u/hal_sk)\
**Replies:** 12\
**Last updated:** [January 6, 2024, 8:01pm UTC](https://community.openhab.org/t/basic-usage-of-rest-api/126042 "2024-01-06T20:01:32Z")

</div>

Hello, I am trying to create external php script hosted by third party web hosting service that will be periodically checking if my OpenHAB is running. My intention is to check Rest API response. If there is proper resp…

---

## [Using NGINX Reverse Proxy (Authentication and HTTPS)](https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542)

<div class="topic-metadata">

**Author:** [@Benjy](https://community.openhab.org/u/Benjy)\
**Replies:** 102\
**Last updated:** [December 11, 2022, 3:22pm UTC](https://community.openhab.org/t/using-nginx-reverse-proxy-authentication-and-https/14542 "2022-12-11T15:22:40Z")

</div>

Hi all, I have been trying to rewrite the openhab2 documentation with a tutorial with how to setup NGINX with use for openHAB2, I see a lot of questions about authentication and HTTPS and I feel these are the steps that…

---

## [Bypass authentication for a page containing a chart](https://community.openhab.org/t/bypass-authentication-for-a-page-containing-a-chart/140510)

<div class="topic-metadata">

**Author:** [@amirf](https://community.openhab.org/u/amirf)\
**Replies:** 1\
**Last updated:** [November 1, 2022, 2:12pm UTC](https://community.openhab.org/t/bypass-authentication-for-a-page-containing-a-chart/140510 "2022-11-01T14:12:35Z")

</div>

Dear Openhabians, I hope I select the right place to write my question. I have an openhab instance running and I have enabled the API security authentication. I have created a simple page containing a chart. Before…

---

## [Synology Surveillance Station & authentification](https://community.openhab.org/t/synology-surveillance-station-authentification/138435)

<div class="topic-metadata">

**Author:** [@yphyph01](https://community.openhab.org/u/yphyph01)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 3:21pm UTC](https://community.openhab.org/t/synology-surveillance-station-authentification/138435 "2022-09-23T15:21:43Z")

</div>

Hello, I’m running openHAB 3.3 on a synology diskstation (dsm 7) through a Docker install. the Surveillance package is installed with 3 configured cameras. I’ve installed the binding for the SurveillanceStation but ca…

---

## [Issue with getting Bearer Token with API Token from REST API](https://community.openhab.org/t/issue-with-getting-bearer-token-with-api-token-from-rest-api/137802)

<div class="topic-metadata">

**Author:** [@Electraport](https://community.openhab.org/u/Electraport)\
**Replies:** 0\
**Last updated:** [August 1, 2022, 9:49pm UTC](https://community.openhab.org/t/issue-with-getting-bearer-token-with-api-token-from-rest-api/137802 "2022-08-01T21:49:09Z")

</div>

Platform information: Hardware: RPi4 and/or ~AWS T2.Medium footprint OS: Debian 11 Java Runtime Environment: JRE 11 openHAB version: 3.3 Issue of the topic: In attempting to access the REST API using an issued API Ke…

---

## [Login needs 2 sets of credentials](https://community.openhab.org/t/login-needs-2-sets-of-credentials/136222)

<div class="topic-metadata">

**Author:** [@Hans\_van\_den\_Bogert](https://community.openhab.org/u/Hans_van_den_Bogert)\
**Replies:** 1\
**Last updated:** [May 27, 2022, 2:47pm UTC](https://community.openhab.org/t/login-needs-2-sets-of-credentials/136222 "2022-05-27T14:47:49Z")

</div>

When Trying to log in from the main UI, i get the following login form: That makes sense, when I login successfully, I’m greeted with another login form: This latter one does not seem to make sense, does anyone k…

---

## [\[OH3\] Per user sitemaps](https://community.openhab.org/t/oh3-per-user-sitemaps/118680)

<div class="topic-metadata">

**Author:** [@Niwla23](https://community.openhab.org/u/Niwla23)\
**Replies:** 1\
**Last updated:** [March 9, 2021, 6:11pm UTC](https://community.openhab.org/t/oh3-per-user-sitemaps/118680 "2021-03-09T18:11:29Z")

</div>

How can I create sitemaps that are only visible to certain users? I created a user in karaf console, but the “Visible to” field of the pages has just two options: Users and Admins Can I somehow create a new role or how…

---

## [\[OH3\] Authentication and multiuser issue](https://community.openhab.org/t/oh3-authentication-and-multiuser-issue/114226)

<div class="topic-metadata">

**Author:** [@icompas](https://community.openhab.org/u/icompas)\
**Replies:** 4\
**Last updated:** [January 25, 2021, 11:00am UTC](https://community.openhab.org/t/oh3-authentication-and-multiuser-issue/114226 "2021-01-25T11:00:16Z")

</div>

I try to use the Rest API and for this I require authentication. None of the already documented tips seem to work. Basic user authentication is enabled, with the admin user as test, I receive always http error ‘401’.…

---

## [REST-API Authentication](https://community.openhab.org/t/rest-api-authentication/114339)

<div class="topic-metadata">

**Author:** [@jmelhus](https://community.openhab.org/u/jmelhus)\
**Replies:** 2\
**Last updated:** [January 16, 2021, 7:57pm UTC](https://community.openhab.org/t/rest-api-authentication/114339 "2021-01-16T19:57:34Z")

</div>

Hi, I’m trying to figure out how to protect part of my semantic model in OH3 with authentication. Documentation states: Starting with version 3, openHAB supports password protection for sensible contents such as part…

---

## [Authentication for OpenHab 3/App](https://community.openhab.org/t/authentication-for-openhab-3-app/107546)

<div class="topic-metadata">

**Author:** [@bf8392](https://community.openhab.org/u/bf8392)\
**Replies:** 9\
**Last updated:** [November 2, 2020, 8:00pm UTC](https://community.openhab.org/t/authentication-for-openhab-3-app/107546 "2020-11-02T20:00:05Z")

</div>

Hi :slight\_smile: I just wanted to ask if OpenHab 3 has authentication in place…if not, I wanted to offer my help :slight\_smile:. I would suggest to implement authelia :slight\_smile: Maybe we can just make the app compat…

---

## [Authorization per Sitemap via Reverse Proxy and Custom Router](https://community.openhab.org/t/authorization-per-sitemap-via-reverse-proxy-and-custom-router/60848)

<div class="topic-metadata">

**Author:** [@milford](https://community.openhab.org/u/milford)\
**Replies:** 15\
**Last updated:** [April 23, 2020, 3:16pm UTC](https://community.openhab.org/t/authorization-per-sitemap-via-reverse-proxy-and-custom-router/60848 "2020-04-23T15:16:49Z")

</div>

Hello everyone, I’d like to share my open-source solution to authorization per sitemap for multiple users in openHAB2. My concept was developed with the sidecar pattern in mind and assuming that the traffic towards ope…

---

## [Help needed: HTTP binding, JSON and basic authentification for CCU825 controller](https://community.openhab.org/t/help-needed-http-binding-json-and-basic-authentification-for-ccu825-controller/68955)

<div class="topic-metadata">

**Author:** [@Dimster](https://community.openhab.org/u/Dimster)\
**Replies:** 33\
**Last updated:** [December 19, 2019, 10:34am UTC](https://community.openhab.org/t/help-needed-http-binding-json-and-basic-authentification-for-ccu825-controller/68955 "2019-12-19T10:34:27Z")

</div>

Hi there! I have got a PLC CCU825 running home automation. Working well. This controller has it web portal and API at ccu.sh. Instruction says that to access controller state the following request may be done: h ttps:/…

---

## [MQTT Embedded Binding allows anonymous connections](https://community.openhab.org/t/mqtt-embedded-binding-allows-anonymous-connections/83458)

<div class="topic-metadata">

**Author:** [@onetwo](https://community.openhab.org/u/onetwo)\
**Replies:** 0\
**Last updated:** [October 12, 2019, 10:31am UTC](https://community.openhab.org/t/mqtt-embedded-binding-allows-anonymous-connections/83458 "2019-10-12T10:31:55Z")

</div>

Hi, I have a question regarding the embedded mqtt broker. After installing it, everything works fine, BUT somehow it allows connecting without password. So what I did is follwing: I’ve installed the broker via paperUI…

---

## [Persistence Non local MYSQL database](https://community.openhab.org/t/persistence-non-local-mysql-database/77698)

<div class="topic-metadata">

**Author:** [@micware](https://community.openhab.org/u/micware)\
**Replies:** 6\
**Last updated:** [July 12, 2019, 7:40am UTC](https://community.openhab.org/t/persistence-non-local-mysql-database/77698 "2019-07-12T07:40:42Z")

</div>

Hi, I have a non local MYSQL server IP ending with .160 is my openhab box IP ending with .180 is mySQL server openhab.log says: \[ERROR\] \[sql.internal.MysqlPersistenceService\] - mySQL: Failed connecting to the SQL da…

---

## [Authentication in OH2](https://community.openhab.org/t/authentication-in-oh2/1723)

<div class="topic-metadata">

**Author:** [@mattias\_markehed](https://community.openhab.org/u/mattias_markehed)\
**Replies:** 60\
**Last updated:** [June 15, 2019, 3:39pm UTC](https://community.openhab.org/t/authentication-in-oh2/1723 "2019-06-15T15:39:30Z")

</div>

Is there currently any way to enable authentication (Username, Password) in OpenHAB 2. Haven’t found anything when searching for it.

---

## [\[SOLVED\] HTTP request with Credentials](https://community.openhab.org/t/solved-http-request-with-credentials/30365)

<div class="topic-metadata">

**Author:** [@jeffm](https://community.openhab.org/u/jeffm)\
**Replies:** 8\
**Last updated:** [February 27, 2019, 5:59pm UTC](https://community.openhab.org/t/solved-http-request-with-credentials/30365 "2019-02-27T17:59:54Z")

</div>

Is it possible to do an HTTP request with the binding AND provide credentials? I’ve looked at http://docs.openhab.org/addons/bindings/http1/readme.html but there doesn’t seem to be any mention of credentials. I have a U…

---

## [Authentication, Usernames, Passwords?](https://community.openhab.org/t/authentication-usernames-passwords/37184)

<div class="topic-metadata">

**Author:** [@gegy](https://community.openhab.org/u/gegy)\
**Replies:** 22\
**Last updated:** [February 2, 2019, 9:40pm UTC](https://community.openhab.org/t/authentication-usernames-passwords/37184 "2019-02-02T21:40:32Z")

</div>

Hi there, is there realy no way to enable an authentication for openhab 2? (Others than .htaccess and reverse proxy stuff) I mean, my guests have access to my wlan and everything is save by username and pw, but openhab…

---

## [Icloud-binding: What does "Support for Two-Factor-Auth" mean? How does it work?](https://community.openhab.org/t/icloud-binding-what-does-support-for-two-factor-auth-mean-how-does-it-work/60099)

<div class="topic-metadata">

**Author:** [@juergen.mnich](https://community.openhab.org/u/juergen.mnich)\
**Replies:** 0\
**Last updated:** [December 17, 2018, 3:39pm UTC](https://community.openhab.org/t/icloud-binding-what-does-support-for-two-factor-auth-mean-how-does-it-work/60099 "2018-12-17T15:39:12Z")

</div>

The online documentation of the current iCloud-binding says that two-factor-authentication ist supported. What does that mean. With my account it does not seem to work. I had to Change my icloud-Password for security rea…

---

## [openHAB start page now requires authentication - unable to login](https://community.openhab.org/t/openhab-start-page-now-requires-authentication-unable-to-login/53515)

<div class="topic-metadata">

**Author:** [@jtwigger](https://community.openhab.org/u/jtwigger)\
**Replies:** 1\
**Last updated:** [October 11, 2018, 3:19am UTC](https://community.openhab.org/t/openhab-start-page-now-requires-authentication-unable-to-login/53515 "2018-10-11T03:19:38Z")

</div>

Good evening. Recently, I experienced some type of system crash/failure, which cleared out all the Things and links to Items. To recover, I restored a recent copy of my jsondb files, which then created another issue wh…

---

## [\[SOLVED\] OpenHAB Android app not working with nginx reverse proxy](https://community.openhab.org/t/solved-openhab-android-app-not-working-with-nginx-reverse-proxy/46899)

<div class="topic-metadata">

**Author:** [@JKLs](https://community.openhab.org/u/JKLs)\
**Replies:** 7\
**Last updated:** [September 8, 2018, 9:39pm UTC](https://community.openhab.org/t/solved-openhab-android-app-not-working-with-nginx-reverse-proxy/46899 "2018-09-08T21:39:28Z")

</div>

I am using the newest version of the openhabianpi image and configured authentication with nginx as described here: Securing Communication and Access | openHAB Everything works fine with a web browser but not with the o…

---

## [MQTT Password File](https://community.openhab.org/t/mqtt-password-file/39480)

<div class="topic-metadata">

**Author:** [@psych](https://community.openhab.org/u/psych)\
**Replies:** 6\
**Last updated:** [February 1, 2018, 7:04pm UTC](https://community.openhab.org/t/mqtt-password-file/39480 "2018-02-01T19:04:59Z")

</div>

Are we able to use a password file within the openhab system to store MQTT passwords for connection to MQTT brokers? This would be instead of having the password stored as plain text inside the mqtt.conf file. Overkill…

---

## [D-Link plug seen offline after a couple of days](https://community.openhab.org/t/d-link-plug-seen-offline-after-a-couple-of-days/36249)

<div class="topic-metadata">

**Author:** [@vpersiani](https://community.openhab.org/u/vpersiani)\
**Replies:** 1\
**Last updated:** [November 15, 2017, 8:48pm UTC](https://community.openhab.org/t/d-link-plug-seen-offline-after-a-couple-of-days/36249 "2017-11-15T20:48:30Z")

</div>

Hello from a newbee I have setup OH2 on my raspberry a few weeks ago, initially started to try to use my D-Link plugs thanks to some scripts found in various blogs / forums with some limited success. Then I noticed abo…

---

## [Levels of Authority on local OpenHAB install](https://community.openhab.org/t/levels-of-authority-on-local-openhab-install/34510)

<div class="topic-metadata">

**Author:** [@tuna66](https://community.openhab.org/u/tuna66)\
**Replies:** 5\
**Last updated:** [September 26, 2017, 1:37pm UTC](https://community.openhab.org/t/levels-of-authority-on-local-openhab-install/34510 "2017-09-26T13:37:03Z")

</div>

I want to give each user their room and only allow them to control their room. Such that User A cannot click on the UI in User B’s room. (OpenHAB Panel). Does this capability exist, if not can a developer point me on ho…

---

## [Android Update 1.8.0.7 Giving Authentication Failed](https://community.openhab.org/t/android-update-1-8-0-7-giving-authentication-failed/31684)

<div class="topic-metadata">

**Author:** [@RobJay](https://community.openhab.org/u/RobJay)\
**Replies:** 4\
**Last updated:** [July 18, 2017, 5:30am UTC](https://community.openhab.org/t/android-update-1-8-0-7-giving-authentication-failed/31684 "2017-07-18T05:30:17Z")

</div>

Hello, I’ve been using OpenHab for a few years a while now (a couple of years, I think). Everything has worked great. On my Android phone, it just updated to version 1.8.0.7. Now when I open the app, I get this error: …

[Next page](https://community.openhab.org/tag/authentication/336.md?match_all_tags=true&page=1&tags%5B%5D=authentication)
