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

REST API Basic authentication pass-through? #399

Open
gooman-uk opened this issue Nov 23, 2022 · 0 comments
Open

REST API Basic authentication pass-through? #399

gooman-uk opened this issue Nov 23, 2022 · 0 comments

Comments

@gooman-uk
Copy link

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

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