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

   ## Summary
   
   _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`.
   
   ## Test plan
   
   - [x] Module builds successfully (`mvn install -DskipTests`)
   - [x] Unit tests pass (`mvn test`)
   - [ ] Verify with an OAuth-enabled Zeebe gateway that gRPC-stub operations 
now authenticate
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
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