davsclaus opened a new pull request, #24701:
URL: https://github.com/apache/camel/pull/24701

   ## Backport of #24695
   
   Cherry-pick of #24695 onto `camel-4.18.x`.
   
   **Original PR:** #24695 - CAMEL-24061: Wire OAuth credentials onto gRPC stub 
channel in camel-zeebe
   **Original author:** @davsclaus
   **Target branch:** `camel-4.18.x`
   
   ### Original description
   
   _Claude Code on behalf of davsclaus_
   
   - Fix authentication gap where 7 out of 9 `ZeebeService` operations bypassed 
OAuth because they used a raw `ManagedChannel` (always plaintext) instead of 
the authenticated `ZeebeClient`
   - Wrap the `managedChannel` with a gRPC `ClientInterceptor` that applies 
`OAuthCredentialsProvider` credentials to every outgoing call when OAuth is 
configured
   - When no credentials are configured, behavior is unchanged (plain channel, 
no interceptor)
   
   **Affected operations (now authenticated):** `cancelProcessInstance`, 
`publishMessage`, `completeJob`, `failJob`, `updateJobRetries`, `throwError`, 
`deployResource`
   
   **Already working:** `startProcess` and `registerJobHandler` (use 
`ZeebeClient` which was fixed in CAMEL-23974)
   
   Note: `camel-zeebe` is deprecated since 4.19.0 in favor of `camel-camunda`, 
which does not have this issue (single `CamundaClient` for all operations). 
Users should migrate to `camel-camunda`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to