camunda-community-hub / zeebe-client-node-js

Node.js client library for Zeebe Microservices Orchestration Engine
https://camunda-community-hub.github.io/zeebe-client-node-js/
Apache License 2.0
152 stars 38 forks source link

feat: inherit `customSSL.rootCerts` for oAuth configuration #320

Closed nikku closed 1 year ago

nikku commented 1 year ago

Respect custom SSL certificate for C8 SaaS connections, but also simplifies general custom certificate configurations. If we merge this PR then customSSL.rootCerts will be inherited by any oAuth configuration.

I chose this route over alternatives as I think there is little use-case to configure different root certs, across oAuth and zeebe (GRPC) connections. If needed, then rootCerts can be concatenated or custom oAuth root certs can be configured through oAuth.customRootCert.

Closes https://github.com/camunda-community-hub/zeebe-client-node-js/issues/319