Commit 8ecab04
committed
fix: use challenge name (not UUID) for JWT token generation
JWT tokens for broker authentication should use the human-readable challenge
name (config.name) instead of the UUID (config.challenge_id). This ensures
the JWT's challenge_id matches what the challenge container sends in its
requests to the broker, preventing 'Challenge mismatch' errors.
This aligns with CHALLENGE_ID environment variable which already uses the
challenge name, ensuring consistency across all challenge communications.1 parent 6da49e2 commit 8ecab04
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
660 | 662 | | |
661 | 663 | | |
662 | 664 | | |
| |||
0 commit comments