Commit f8e70b6
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 f8e70b6
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| 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