-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for oAuth mTLS client authorization #161
Conversation
Thanks for the contribution @marinator86. Could you please amend the commit message to type |
Hi @jwulf, done. |
## [8.5.4-alpha.1](v8.5.3...v8.5.4-alpha.1) (2024-05-15) ### Features * **oauth:** add conditional loading of client key and cert for getting a token ([#161](#161)) ([f05aa8a](f05aa8a))
## [8.5.4-alpha.1](v8.5.3...v8.5.4-alpha.1) (2024-05-15) ### Features * **oauth:** add conditional loading of client key and cert for getting a token ([#161](#161)) ([f05aa8a](f05aa8a))
Released in 8.5.4-alpha.1 |
## [8.5.4](v8.5.3...v8.5.4) (2024-05-24) ### Bug Fixes * **issue137:** support ZEEBE_REST_ADDRESS and ZEEBE_GRPC_ADDRESS environment variables ([#159](#159)) ([41fdca0](41fdca0)) * **oauth:** correctly expire cached token ([#164](#164)) ([c86e550](c86e550)), closes [#163](#163) ### Features * **camunda8:** support Basic Auth ([d6acdfd](d6acdfd)), closes [#165](#165) * **oauth:** add conditional loading of client key and cert for getting a token ([#161](#161)) ([f05aa8a](f05aa8a)) * **zeebe:** support Zeebe User Task REST API ([022607b](022607b)), closes [#34](#34)
## [8.5.4](v8.5.3...v8.5.4) (2024-05-24) ### Bug Fixes * **issue137:** support ZEEBE_REST_ADDRESS and ZEEBE_GRPC_ADDRESS environment variables ([#159](#159)) ([41fdca0](41fdca0)) * **oauth:** correctly expire cached token ([#164](#164)) ([c86e550](c86e550)), closes [#163](#163) ### Features * **camunda8:** support Basic Auth ([d6acdfd](d6acdfd)), closes [#165](#165) * **oauth:** add conditional loading of client key and cert for getting a token ([#161](#161)) ([f05aa8a](f05aa8a)) * **zeebe:** support Zeebe User Task REST API ([022607b](022607b)), closes [#34](#34)
Hi team,
first of all a big thanks for this sdk! We plan to use it at Mercedes-Benz to connect zeebe workers to our self-managed camunda instance.
In our setup, were we have to put both the oAuth server (keycloak) and the zeebe gateway behind an ingress which requires mTLS client authorization. As I've tested, client authorization has already been supported for grpc connections, but the OAuthProvider did not support it yet when it requests a token.
So I've added code that uses the same config parameters
CAMUNDA_CUSTOM_CERT_CHAIN_PATH
andCAMUNDA_CUSTOM_PRIVATE_KEY_PATH
to configure got, but only in case they're set. If they're not set,key
andcert
params from got remainundefined
, and everything works normal.