Open
Description
i am using https.CamelHttpsSinkConnector sink connector with Oauth2 Client and i see scope is not exists on the code in order to use oauth2TokenEndpoint /oauth2/v2.0/token from azure. below is the config where i need oauth2Scope to be defined.
"connector.class": "org.apache.camel.kafkaconnector.https.CamelHttpsSinkConnector",
"camel.sink.endpoint.okStatusCodeRange": "200,201",
"topics": "msk.databook.test.openlineage.topic.internal.any.v1",
"camel.sink.endpoint.httpMethod": "POST",
"camel.sink.path.httpUri": "<url>",
"camel.sink.endpoint.oauth2ClientId": "<client_id>",
"camel.sink.endpoint.oauth2ClientSecret": "<client_secret>",
"camel.sink.endpoint.oauth2TokenEndpoint": "https://login.microsoftonline.com/<sub>/oauth2/v2.0/token",
**"camel.sink.endpoint.oauth2Scope": "api://<client_id>/.default",**
Metadata
Metadata
Assignees
Labels
No labels