Since openHAB 5.2.2 I can no longer connect external AI clients to the openHAB MCP server via the openHAB Cloud. The main UI login at myopenhab.org works again with 5.2.3, but the OAuth flow of the clients still fails.
Setup: openHAB 5.2.3 (Docker, TrueNAS SCALE), MCP Server add-on, openHAB Cloud connector online, connector URL on connect.myopenhab.org.
What happens: Adding the server as a custom connector in Claude.ai redirects to openHAB Cloud - Log in … and returns only “unauthorized_client”. A user in the 5.2.2 thread ( Openhab 5.2.2 -> https://myopenhab.org/ -> unauthorized_client (While trying to login in Openhab Cloud) ) reports the same with ChatGPT on 5.2.3. It worked before 5.2.2.
Questions:
- Is the rejection of a cross-origin redirect_uri an intended part of the 5.2.2 security changes?
- If yes, is there a setting to allow trusted redirect URIs for external clients (Claude, ChatGPT)?
- Is a fix planned? Does openHAB Cloud forward X-Forwarded-Proto / X-Forwarded-Host, which another user needed on his own proxy?
Screenshot of the error and URL attached.
