-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add HTTP Basic Auth support #45
Comments
would be awesome |
Authentication password via url parameter is not secure |
@mesche hm ... with SSL it could be ... but still think about most do it home-network ... |
Correct... but when I use the API with other systems (like Grafana for example), then I have to store the password in plain text. but thank your for your support and the development .. great work |
@mesche How do you connect grafana with iobroker when auth is activated? i am trying with the grafana json plugin and iobroker simple api. it is working without auth activated, but when i activate it shows bad request. i can get value directly via url, so simple api is working. can you share your settings? many thanks and have a nice day |
Not at all! That's why I hope that the simple-api adapter supports this function soon. Currently I have 2 instances of the simple-api adapter running. For Grafana without auth and only with read permissions of the data points |
Ahhh now i understand you. Allright, your workaround with 2 instances is great. I will do one just for read and only available between the dockers containers. and the other one with auth and extra port. i hope it can be added so that this workaround is not needed any more and simple-api gets better :) |
Any progress here ? |
Please add support for HTTP Basic authentication.
Just extract the user information from the auth header for validation.
The text was updated successfully, but these errors were encountered: