Hello,
we have CFK 7.8 and we are using connector “HTTP Sink Connector for Confluent Platform” with OAUTH2 (with basic authentication works fine) and we need to send the token in body instead header, and this configuration is not working:
"auth.type": "oauth2"
"oauth2.token.url": "http://xxxx/token"
"oauth2.client.id": "yyyy"
"oauth2.client.secret": "zzzz"
So the pod connect shows this error: "Caused by: java.io.IOException: Received a non-2xx response from the configured OAuth token URL. HTTP Response code: 422, Unprocessable Entity, url: http://xxxx/token : {“detail”:[{“type”:“missing”,“loc”:[“body”,“client_id”],“msg”:“Field required”,“input”:null},{“type”:“missing”,“loc”:[“body”,“client_secret”],“msg”:“Field required”,“input”:null}]}
Could someone help me, please?
Thank you very much
Regards