Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for openHab running with "implicit user rights" disabled #472

Open
datMaffin opened this issue Aug 31, 2024 · 1 comment

Comments

@datMaffin
Copy link

On my openHAB setup, I have the "implicit user rights" disabled such that it is necessary for users in the network to first login.

Now the issue is that this does not seem to be supported by the openhab-cloud:

  • In case of the myopenhab website, it will always fail with a 401 for retrieving

      GET
          scheme
              https
          host
              home.myopenhab.org
          filename
              /rest/sitemaps
    

    Response:

    {"error":{"message":"Authentication required","http-code":401}}
    

    and

    GET
        
    scheme
        https
    host
        home.myopenhab.org
    filename
        /rest/events/states
    

    Response:

    {"error":{"message":"Authentication required","http-code":401}}
    

    The weird part is that depending on which local user I will log-in, I will see the correct pages.
    However, if take a look at items, all the states are NaN or similar.

    So I guess some kind of user info is forwared.

  • Same for using the openHab app via myopenhab.

I guess that the local login information is not correctly passing through the openhab-cloud.

@datMaffin
Copy link
Author

datMaffin commented Aug 31, 2024

Another issue that kinda caught my eye, but I think is not what I am running into, might be: openhab/openhab-webui#699

The difference to that issue is that locally directly using openHab, everything works exactly as intended for me. Only via the openhab-cloud, do I have the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant