Skip to content

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

@datMaffin

Description

@datMaffin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions