Skip to content

Commit

Permalink
fix: add auth url, and audience to SaasAuthentication creation
Browse files Browse the repository at this point in the history
  • Loading branch information
markfarkas-camunda committed Apr 4, 2023
1 parent e710d7d commit 3ec7af9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/RELEASE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: bundle/mvn/default-bundle/
push: ${{ github.ref == 'refs/heads/main' }}
push: true #${{ github.ref == 'refs/heads/main' }}
tags: camunda/connectors-bundle:${{ github.event.inputs.version }}
platforms: linux/amd64,linux/arm64
provenance: false
Expand All @@ -151,7 +151,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: bundle/mvn/camunda-saas-bundle/
push: ${{ github.ref == 'refs/heads/main' }}
push: true #${{ github.ref == 'refs/heads/main' }}
tags: camunda/connectors-bundle-saas:${{ github.event.inputs.version }}
platforms: linux/amd64,linux/arm64
provenance: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ public CamundaOperateClient camundaOperateClientBundle(
String operateClientSecret = internalSecretProvider.getSecret(SECRET_NAME_SECRET);
return new CamundaOperateClient.Builder()
.operateUrl(properties.getOperateUrl())
.authentication(new SaasAuthentication(operateClientId, operateClientSecret))
.authentication(
new SaasAuthentication(
properties.getAuthUrl(),
properties.getAudience(),
operateClientId,
operateClientSecret))
.build();
}
}

0 comments on commit 3ec7af9

Please sign in to comment.