openhab-cloud icon indicating copy to clipboard operation
openhab-cloud copied to clipboard

REST API Basic authentication pass-through?

Open gooman-uk opened this issue 2 years ago • 0 comments

I'm trying to create a rule in my local OpenHAB instance using the /rules API endpoint and POST method, through myopenhab.

I'm getting a 401 error from myopenhab- presumably since my local OpenHAB instance needs authentication for this.

I have "Allow Basic Authentication" turned on in API Security - but how do I pass the Authorization header? In my HTTP POST to myopenhab, this will the authentication key for myopenhab, not for my local instance

gooman-uk avatar Nov 23 '22 12:11 gooman-uk