GitHub App Installation Tokens: Per-Request Override Header
3 similar posts
- GitHub Enterprise Cloud
- GitHub Enterprise Server
- GitHub App
AI Summary
GitHub introduces a temporary per-request header, X-GitHub-Stateless-S2S-Token, to let developers force stateful or stateless GitHub App installation token formats on demand before a global rollout. Engineers can test compatibility with the new ghs_-prefixed JWT format, update database column sizes and regex validations, and opt out temporarily if more migration time is required.
Key Takeaways
- Covers the X-GitHub-Stateless-S2S-Token header usage with 'enabled' or 'disabled' values.
- Highlights specific engineering changes required, such as updating token validation regex and database column width to 520 characters.
- Notes that the override header is temporary and will be deprecated after the full rollout.
Why it matters
Provides engineers with a concrete mechanism to test and validate their applications against upcoming token format changes without waiting for automated server-side rollouts, preventing potential production outages.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.