Support for EndpointParams for HTTP Output OAuth2's ClientCredentials auth config #7847
Labels
help wanted
Request for community participation, code, contribution
size/s
1 day effort, great beginniner issue
Feature Request
Some OAuth2 identity service such as Auth0 requires
audience
parameter when requesting token from their token endpoint. An example of token request call be found here (also posted below in case the link breaks). Currently, the http output plugin does not support additional parameters such as the above.Proposal:
Add token_endpoint_parameters to http output plugin config that will accept key-value pair for additional ClientCredentials token request parameter.
For example:
The parameters would then be passed to clientcredentials.Config as EndpointParameter.
Current behavior:
HTTP output plugin does not accept additional token endpoint parameter.
Desired behavior:
HTTP output plugin should accept additional token endpoint parameter such as
audience
, which is used by Auth0.Use case:
This adds support to users using Auth0 to protect their HTTP endpoint, and other auth provider that requires additional parameters on token request.
The text was updated successfully, but these errors were encountered: