Closed dimastbk closed 1 month ago
Totals | |
---|---|
Change from base Build 11277676454: | 0.005% |
Covered Lines: | 1104 |
Relevant Lines: | 1139 |
If i remember correctly Spring Boot SDK for Zeebe sets these parameters by default too. @dimastbk
Spring Boot SDK calculates audience, scope isn't required by Camunda Cloud and oauth url is static
I tested this changes with Camunda SaaS
Can I check myself tomorrow, currently i only got my phone?
audience
should be static Camunda Docs
audience="zeebe.camunda.io
scope
should either be None (Optional parameter), because setting it to the cluster_id
also works. Maybe relevant for enterprise user with custom scope configs...leeway
and expire_in
i don't really know if there is need for customization. Would not hurt to keep I guess.create_camunda_cloud_channel
function was used. (The old function also needs a static audience
)Do we want to close this pull-request then and I will provide a fix for the scope
issue ?
fix #510
I suggest allowing only the required options to be set, like in the Java SDK
ping @felicijus