Skip to content

feat(oauth): support optional scope in OAuth request #59

feat(oauth): support optional scope in OAuth request

feat(oauth): support optional scope in OAuth request #59

Workflow file for this run

name: Run Local Integration Tests
on: [push, pull_request]
jobs:
local_integration:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18" # Specify a Node.js version
# This is to force nx arch-specific packages to correctly install
# This is to work around https://github.com/npm/cli/issues/4828
- name: Remove package-lock.json
run: rm -f package-lock.json
- name: Install dependencies
run: npm install
# Workaround for https://github.com/actions/runner-images/issues/2821
- name: Remove mono blocking 8084 port
run: sudo kill -9 $(sudo lsof -t -i:8084)
- name: Set up Docker Compose
run: |
docker-compose -f docker/docker-compose.yml up -d
- name: Run Integration Tests
run: |
lerna run test:local-integration
env:
ZEEBE_SECURE_CONNECTION: false
ZEEBE_ADDRESS: localhost:26500
ZEEBE_CLIENT_ID: zeebe
ZEEBE_AUTHORIZATION_SERVER_URL: http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token
ZEEBE_CLIENT_SECRET: zecret
ZEEBE_TOKEN_AUDIENCE: zeebe.camunda.io
CAMUNDA_CREDENTIALS_SCOPES: Zeebe,Tasklist,Operate,Optimize
CAMUNDA_OAUTH_URL: http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token
CAMUNDA_TASKLIST_BASE_URL: http://localhost:8082
CAMUNDA_OPERATE_BASE_URL: http://localhost:8081
CAMUNDA_OPTIMIZE_BASE_URL: http://localhost:8081
CAMUNDA_TEST_TYPE: local
DEBUG: camunda:token
- name: Cleanup
if: always()
run: docker-compose -f docker/docker-compose.yml down