influxdata/telegraf

OAuth2 Authentication with http_response

Fechada

#16.644 aberto em 16 de mar. de 2025

 (2 comentários) (0 reação) (0 responsável)Go (5.835 forks)batch import
feature requesthelp wantedsize/s

Métricas do repositório

Stars
 (17.759 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 12h) (136 fundiu PRs em 30d)

Description

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

Guia do colaborador