chethan-bs opened a new issue, #1647:
URL: https://github.com/apache/camel-kafka-connector/issues/1647

   i am using  CamelHttpsSinkConnector REST API 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",**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to