Skip to content

Commit e4c35f5

Browse files
authored
Use steve-todorov/oidc-debugger-action (#742)
* Use `steve-todorov/oidc-debugger-action * Testing * Revert testing
1 parent 2d8560d commit e4c35f5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/CI.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@ jobs:
4242
- uses: actions/checkout@v5
4343
- name: Debug OIDC Claims
4444
if: ${{ env.RUN_INTEGRATION_TESTS == 'true' }}
45-
# TODO: Switch to `steve-todorov/oidc-debugger-action@v1` once it's working
46-
run: |
47-
TOKEN_JSON="$(curl -fsSL -H "Authorization: bearer ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:?}" "${ACTIONS_ID_TOKEN_REQUEST_URL:?}&audience=${audience:?}")"
48-
ID_TOKEN="$(echo "${TOKEN_JSON:?}" | jq -r .value)"
49-
echo "${ID_TOKEN:?}" | awk -F. '{print $2}' | base64 -d 2>/dev/null | jq -r
50-
env:
45+
uses: steve-todorov/oidc-debugger-action@v1
46+
with:
5147
audience: sts.amazonaws.com
5248
- name: Assume AWS role
5349
if: ${{ env.RUN_INTEGRATION_TESTS == 'true' }}

0 commit comments

Comments
 (0)