Commit 33d02c9
fix(github): Cast app ID to string for PyJWT 2.12.0 iss claim
PyJWT 2.11.0+ validates that the iss claim must be a string during
encoding. The github-app.id and github.integration-app-id options are
registered with default=0 (int), so options.get() returns an int,
causing InvalidClaimError. Cast to str() in both JWT generation paths.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 661ae7d commit 33d02c9
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments