GitHub Completes Rollout of Longer Stateless App Installation Tokens

An editorial illustration of a glowing, elongated digital key lying horizontally on a dark minimal surface under soft blue lighting.

GitHub has completed the staged rollout of its new stateless GitHub App installation token format, which originally began on April 27, 2026. All newly generated GitHub App installation tokens now default to the stateless ghs_APPID_JWT format, a change designed to speed up token issuance and validation while improving overall GitHub API reliability.

Key Changes and Technical Specifications

While the new installation tokens retain the standard ghs_ prefix, their length has increased significantly from approximately 40 characters to about 520 characters. Core functional properties—including permission structures, repository scoping, the one-hour expiration window, and the REST API endpoint used to generate installation access tokens—remain unchanged. Any tokens issued under the older format prior to this completion will remain valid until their regular expiration.

Deprecation Timeline for Temporary Request Header

To assist with testing during the migration period, GitHub previously introduced an optional X-GitHub-Stateless-S2S-Token request header for on-demand validation. GitHub announced that it will officially deprecate this temporary header on November 30, 2026. Beyond that date, the header will no longer be recognized, and all supported applications will receive stateless tokens automatically. Developers are advised to remove the header from production code once compatibility is verified.

Required Actions for Developers and Integrations

Because the token length has expanded dramatically, development teams must ensure their infrastructure treats installation tokens strictly as opaque strings. Potential breaking points include validation logic or regular expressions tuned specifically to 40-character legacy strings, database columns or secret managers with restrictive character limits, and network proxies or middleware that might truncate extended Authorization headers. Additionally, logging pipelines and secret-redaction rules should be updated to match the new token structure.

AI-generated editorial illustration; not a documentary photograph.

Source: Stateless GitHub App installation tokens rolled out

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *