Skip to content

Commit 43ee787

Browse files
authored
Pass custom claims from refreshToken method when creating tokens (#33)
* Pass custom claims from refreshToken method when creating tokens * Adjust adobe@2021 pipelines * Formatting changes * Add overwrite for format command
1 parent 6ee16d3 commit 43ee787

20 files changed

+389
-453
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,16 @@ jobs:
7474
7575
- name: Start ${{ matrix.cfengine }} Server
7676
working-directory: ./test-harness
77-
run: |
78-
box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug
79-
# Install Adobe 2021 cfpm modules
80-
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
81-
box run-script install:2021
82-
fi
83-
curl http://127.0.0.1:60299
77+
run: box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug
78+
79+
- name: CFPM Setup
80+
if: ${{ matrix.cfengine == 'adobe@2021' }}
81+
working-directory: ./test-harness
82+
run: box run-script install:2021
83+
84+
- name: Prime ${{ matrix.cfengine }} server
85+
working-directory: ./test-harness
86+
run: curl http://127.0.0.1:60299
8487

8588
- name: Run Tests
8689
working-directory: ./test-harness

.github/workflows/pr.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,16 @@ jobs:
6060
6161
- name: Start ${{ matrix.cfengine }} Server
6262
working-directory: ./test-harness
63-
run: |
64-
box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug
65-
curl http://127.0.0.1:60299
63+
run: box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug
64+
65+
- name: CFPM Setup
66+
if: ${{ matrix.cfengine == 'adobe@2021' }}
67+
working-directory: ./test-harness
68+
run: box run-script install:2021
69+
70+
- name: Prime ${{ matrix.cfengine }} server
71+
working-directory: ./test-harness
72+
run: curl http://127.0.0.1:60299
6673

6774
- name: Run Tests
6875
working-directory: ./test-harness

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"scripts":{
3737
"release":"recipe build/release.boxr",
38-
"format":"cfformat run handlers/,interceptors/,models/,test-harness/tests/specs,ModuleConfig.cfc",
38+
"format":"cfformat run handlers/,interceptors/,models/,test-harness/tests/specs,ModuleConfig.cfc --overwrite",
3939
"format:watch":"cfformat watch handlers/,interceptors/,models/,test-harness/tests/specs,ModuleConfig.cfc ./.cfformat.json",
4040
"format:check":"cfformat check handlers/,interceptors/,models/,test-harness/tests/specs,ModuleConfig.cfc"
4141
}

0 commit comments

Comments
 (0)