telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

OAuth2 Authentication with http_response

Open Soufian20 opened this issue 9 months ago • 1 comments

Use Case

I would like to use the http_response plugin with OAuth2 authentication

Expected behavior

Add OAuth2 authentication to http_response base on the existing code from the http plugin

OAuth2 Client Credentials. The options 'client_id', 'client_secret', and 'token_url' are required to use OAuth2. client_id = "clientid" client_secret = "secret" token_url = "https://indentityprovider/oauth2/v1/token" scopes = ["urn:opc:idm:myscopes"

Actual behavior

No OAuth2 authentication is directly available

Additional info

No response

Soufian20 avatar Mar 16 '25 22:03 Soufian20

Next step: Someone needs to implement a token setting of type config.Secret to use the OAuth secret store (and potentially others).

srebhan avatar May 09 '25 10:05 srebhan