Openhab 5.2.2 -> https://myopenhab.org/ -> unauthorized_client (While trying to login in Openhab Cloud)

Hello all,

I’ve recently updated Version 5.2.2 in my docker env.
The Login to https://myopenhab.org/ works great.
The instance is shown as online in myopenhab.
When i click on it the page is loading properly.’
But when i press the “login icon” on the bottom left i get the message unauthorized_client.
I’ve already tried to purge the caches, logged in and out in myopenhab but did not succed.
Login at my local http://192.168.X.X allows me to login

THX

Hi , thanks for the report. Indeed something broke, happening to me as well, i’ll take a look, not clear why its happening, cloud side has not changed in some time..

I guess this is related to our security fix for Trusted-network authentication bypass via spoofed X-Forwarded-For header · Advisory · openhab/openhab-core · GitHub. Just guessing though …

It is, i commented on the other thread on the 5.2.x release thread.

Hello, I can also confirm this behaviour with the Android App connected localy by Wifi and on windows using the page https://connect.myopenhab.org.

Fix is in the nightly builds and will be in the 5.3 M4 release likely this weekend. Not sure when then next 5.2.x release is, will check on that.

5.2.3 will come soon, I can’t guarantee it but I think we’ll start the build today.

I’ve just installed version 5.2.3. Looks great it’s working now thank you very much.

Hi all,

I’m using claude.ai through a connector with the MCP server of OpenHAB (was building a Dreame/Mova Binding with claude in the last days and claude did most of the testing automatically).

But since version 5.2.2 the connection between claude.ai and OpenHAB (via myopenhab.org) is not working anymore. I already tried several times to reestablish the connection.

Also with the newest release 5.2.3 it is not working:

grafik

Does someone have the same problem?

5.2.3 worked for me, but only after adding X-Forwarded-Proto and X-Forwarded-Host headers through the Apache config:

ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME}
RequestHeader set X-Forwarded-Host expr=%{HTTP_HOST}

I have the same issue with ChatGPT on version 5.2.3