Skip to content

Commit

Permalink
Merge pull request #233 from camunda/alpha
Browse files Browse the repository at this point in the history
Alpha
  • Loading branch information
jwulf authored Aug 21, 2024
2 parents 62e99d0 + 72b42fa commit 1518037
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml up -d
docker compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml up -d
- name: Run Integration Tests
run: |
Expand All @@ -93,7 +93,7 @@ jobs:

- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml down
run: docker compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml down

local_multitenancy_integration:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml up -d
docker compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml up -d
- name: Run Integration Tests
run: |
Expand All @@ -141,7 +141,7 @@ jobs:

- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml down
run: docker compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml down

saas_integration:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml up -d
docker compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml up -d
- name: Run Integration Tests
run: |
Expand All @@ -91,7 +91,7 @@ jobs:

- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml down
run: docker compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml down

local_multitenancy_integration:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml up -d
docker compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml up -d
- name: Run Integration Tests
run: |
Expand All @@ -139,7 +139,7 @@ jobs:

- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml down
run: docker compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml down

saas_integration:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml up -d
docker compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml up -d
- name: Run Integration Tests
run: |
Expand All @@ -72,7 +72,7 @@ jobs:

- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml down
run: docker compose -f docker/docker-compose.yaml -f docker/docker-compose-modeler.yaml down

local_multitenancy_integration:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml up -d
docker compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml up -d
- name: Run Integration Tests
run: |
Expand All @@ -120,7 +120,7 @@ jobs:

- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml down
run: docker compose -f docker/docker-compose-multitenancy.yaml -f docker/docker-compose-modeler.yaml down

saas_integration:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion src/oauth/lib/OAuthProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,11 @@ export class OAuthProvider implements IOAuthProvider {
}) {
const body = `${this.addAudienceIfNeeded(
audienceType
)}client_id=${clientIdToUse}&client_secret=${clientSecretToUse}&grant_type=client_credentials`
)}client_id=${encodeURIComponent(
clientIdToUse
)}&client_secret=${encodeURIComponent(
clientSecretToUse
)}&grant_type=client_credentials`
/* Add a scope to the token request, if one is set */
const bodyWithScope = this.scope ? `${body}&scope=${this.scope}` : body

Expand Down

0 comments on commit 1518037

Please sign in to comment.