-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 auth token to OpenTSDB #2640
Comments
To get this more general I suggest using |
Doesn't #1913 close this? |
Thanks for pointing out this related issue @mirath. It looks to me like that PR does not actually add basic auth support as titled, but instead allows passing through the userinfo section of the url. |
I looked at the changes and it looks that, for an url formated as https://<user>:<pass>@example.com/, it passes <user>:<pass> as a string to whatever it creates the HTTP/HTTPS connection. If that is the case wouldn't that allow to connect to OpenTSDB using basic auth? |
Basic auth uses the Authorization header and base64 encodes the user:password. |
Since the username and password is passed through to the connection, it appears that #1913 does fix this. Closing |
Feature Request
Allow HTTP(S) basic auth in OpenTSDB connection.
Proposal:
Current behavior:
Desired behavior:
Use case: [Why is this important (helps with prioritizing requests)]
I'm using OVH PaaS for monitoring. We must use token ...
Actually, you can find an example here : https://github.com/runabove/iot-push-examples/blob/master/Golang/go-client.go
The text was updated successfully, but these errors were encountered: