Support OAuth2 for analysis provider #2909
Closed
OpenGuidou
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
You could create a new metrics provider plugin with code for your particular oauth provider |
Beta Was this translation helpful? Give feedback.
3 replies
-
Closed with #3038 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
If we use OAuth 2 as authentication for a provider, there is currently no way to execute the small logic to get an access token before running the analysis.
Do you think it would be a valid improvement to support that ?
In the PrometheusMetric, we have available an Authentication for AWS sigv4.
It could be enhanced to support also OAuth2 protocol.
I would propose the following structure:
For Prometheus:
Also available for web:
The OAuth authorization would be run before the analysis actual run, and the "Authorization: Bearer " header would be appended to the actual api call (prom or web) with the access_token resolved.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions