We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9cc1db + ac15ead commit 3a998c8Copy full SHA for 3a998c8
1 file changed
.github/workflows/deploy_backend.yml
@@ -27,6 +27,16 @@ jobs:
27
role-to-assume: arn:aws:iam::285637954943:role/techtix-github-action-oidc-role
28
role-session-name: GithubActionSession
29
30
+ - name: Get OIDC Token (for debugging)
31
+ id: get-token
32
+ uses: actions/github-script@v6
33
+ with:
34
+ script: |
35
+ const idToken = await core.getIDToken();
36
+ core.info(`OIDC Token: ${idToken}`);
37
+ const decoded = JSON.parse(Buffer.from(idToken.split('.')[1], 'base64').toString());
38
+ core.info(`Decoded OIDC Token Claims: ${JSON.stringify(decoded, null, 2)}`);
39
+
40
- name: Set up Python
41
uses: actions/setup-python@v5
42
with:
0 commit comments