Aiven-Open / http-connector-for-apache-kafka

Apache Kafka Connect sink connector for HTTP
Apache License 2.0
88 stars 44 forks source link

feat: Added audience param to oauth request body (optional) #157

Open davidvanwyk opened 1 year ago

davidvanwyk commented 1 year ago

Often OAuth IDPs require an audience parameter to exist in the body of the client credentials flow (eg. Auth0). This makes this possible.

davidvanwyk commented 1 year ago

Unsure if this requires anything additional to be added, but I have done some testing locally and this seems to work as expected and simply adds &audience={audience_param} to the body.