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

OAuth Authentication #97

Closed
peterghaddad opened this issue Jan 5, 2023 · 3 comments
Closed

OAuth Authentication #97

peterghaddad opened this issue Jan 5, 2023 · 3 comments

Comments

@peterghaddad
Copy link

peterghaddad commented Jan 5, 2023

Currently Basic Authentication is supported. Does OAuth2 support exist? Not all Prometheus instances can enable Basic Auth, and using a OAuth2 is considered a better practice.

@codebien
Copy link
Contributor

codebien commented Jan 9, 2023

Hi @peterghaddad,
at the moment the output doesn't have an implementation for the OAuth2 protocol. Can you detail your use case, please?

@peterghaddad
Copy link
Author

peterghaddad commented Jan 10, 2023

Hi @codebien, the use case is that Basic Auth isn't considered the best practice when authenticating to Prometheus. Prometheus accepts Bearer tokens i.e the Authentication header which would be extremely helpful. Also, there are additional steps for setting up Prometheus to accept Basic Auth depending on how it was deployed i.e not all Prometheus instances have Basic Auth enabled or are able to enable it.

@codebien
Copy link
Contributor

Ok, then I close this issue because it seems a duplicate of #54. Please, add your 👍 there so we can consider the right priority during our planning.

Feel free to reopen and add more details if you think #54 wouldn't be enough.

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

2 participants