We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdce90e commit 30550bfCopy full SHA for 30550bf
extension/client-java/src/main/java/io/camunda/tasklist/auth/JwtAuthentication.java
@@ -73,7 +73,7 @@ private HttpPost buildRequest() throws URISyntaxException {
73
formParams.add(new BasicNameValuePair("client_id", jwtCredential.clientId()));
74
formParams.add(new BasicNameValuePair("client_secret", jwtCredential.clientSecret()));
75
formParams.add(new BasicNameValuePair("audience", jwtCredential.audience()));
76
- if (jwtCredential.scope() != null) {
+ if (jwtCredential.scope() != null && !jwtCredential.scope().isEmpty()) {
77
formParams.add(new BasicNameValuePair("scope", jwtCredential.scope()));
78
}
79
httpPost.setEntity(new UrlEncodedFormEntity(formParams));
0 commit comments