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

Add HTTP Basic Auth support #45

Open
klein0r opened this issue Dec 30, 2020 · 8 comments
Open

Add HTTP Basic Auth support #45

klein0r opened this issue Dec 30, 2020 · 8 comments

Comments

@klein0r
Copy link

klein0r commented Dec 30, 2020

Please add support for HTTP Basic authentication.
Just extract the user information from the auth header for validation.

@dadude86
Copy link

would be awesome

@mesche
Copy link

mesche commented Jul 16, 2021

Authentication password via url parameter is not secure

@Apollon77
Copy link
Contributor

@mesche hm ... with SSL it could be ... but still think about most do it home-network ...

@mesche
Copy link

mesche commented Jul 16, 2021

Correct... but when I use the API with other systems (like Grafana for example), then I have to store the password in plain text.
--> not quite ideal ;-)

but thank your for your support and the development .. great work

@SirFlour
Copy link

@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

@mesche
Copy link

mesche commented Apr 16, 2023

@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

@SirFlour
Copy link

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 :)

@tommyMX
Copy link

tommyMX commented Feb 28, 2024

Any progress here ?

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

No branches or pull requests

6 participants