
ステートレスなGitHub Appインストールトークンのロールアウト完了Stateless GitHub App installation tokens rolled out
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy
- GitHub Appのインストールトークンは、既定でステートレスなghs_APPID_JWT形式へ移行し、長さは約520文字になりました。
- 権限やリポジトリ範囲、有効期限1時間は維持され、APIの発行・検証高速化と信頼性向上に役立ちます。
- GitHub App installation tokens now default to the stateless ghs_APPID_JWT format and are roughly 520 characters rather than 40.
- Permissions, repository scope, and one-hour lifetime remain unchanged, enabling faster, more reliable API token handling.
本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (github.blog) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (github.blog).
要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.
ステートレス形式
GitHub Appのインストールトークンについて、2026年4月27日に始まったステートレス形式への段階的なロールアウトが完了した。今後、新たに発行されるトークンは、既定でghs_APPID_JWT形式となり、発行と検証の高速化、およびGitHub APIの信頼性向上につながると説明されている。
トークンの長さ
インストールトークンの先頭には、従来と同じくghs_プレフィックスが付く。一方、トークン全体の長さは従来の40文字から約520文字へと大きく変わった。形式と長さは変更されたものの、GitHub Appのインストールトークンとして発行される点は変わらない。
変更前に発行されたトークンも、直ちに無効になるわけではない。それぞれの有効期限を迎えるまでは、引き続き利用できる。
変わらない仕様
トークンに設定される権限、アクセス対象となるリポジトリの範囲、有効期限1時間という条件は維持される。インストールアクセストークンを発行するREST APIエンドポイントにも変更はない。
このため、今回の移行で変わる中心部分は、トークンの内部形式と文字数である。権限やリポジトリのスコープ、有効期間、発行に使うエンドポイントまで別の仕様へ置き換わるものではない。
一時ヘッダー
新形式を必要に応じて検証できるよう導入されていた、一時的なX-GitHub-Stateless-S2S-Tokenリクエストヘッダーは、2026年11月30日に非推奨となる。段階的なロールアウトが完了し、新規トークンが既定でステートレス形式になったことに伴う変更となる。
Stateless installation token format
GitHub has completed the staged rollout of a stateless format for GitHub App installation tokens. The change matters because the new format makes token issuance and validation faster while improving the reliability of the GitHub API.
The rollout began on April 27, 2026. With the rollout complete, all newly minted GitHub App installation tokens use the stateless ghs_APPID_JWT format by default.
Installation tokens
Installation tokens continue to begin with the ghs_ prefix, but their length has changed substantially. Tokens in the new format are about 520 characters long, compared with 40 characters for the previous format.
The change applies to newly minted tokens by default. Tokens minted before the change remain valid and continue to work until they reach their expiration.
Permissions and repository scoping
Although the token format and length have changed, the associated access characteristics remain the same. Token permissions are unchanged, as is repository scoping.
The one-hour expiration period also remains in place. GitHub has not changed the installation access token REST API endpoint as part of this rollout. The transition therefore changes the format used for installation tokens without changing their permissions, repository scope, lifetime, or issuance endpoint.
Temporary request header
GitHub had introduced the temporary X-GitHub-Stateless-S2S-Token request header so that the new stateless format could be validated on demand during the transition.
With the staged rollout now complete and newly minted tokens using the stateless format by default, that temporary request header is scheduled for deprecation on November 30, 2026.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPokoGitHub Appを使う仕事だと、普段のAPI連携は何が変わるの?トークンが長くなるだけ?For work using GitHub Apps, what changes in everyday API integrations? Is it just a longer token?
- TECHガイドTECH Guide新しいトークンは既定でステートレス形式になり、APIでの発行・検証が速く、信頼性も向上します。権限などは変わりません。New tokens now use a stateless format by default, making API issuance and validation faster and more reliable. Permissions and related settings stay the same.
- ポコPoko前の約40文字のトークンでは、速い発行や検証はできなかったの?Couldn’t the older roughly 40-character tokens be issued and validated quickly?
- TECHガイドTECH Guideできなかったとは書かれていません。新形式は約520文字で、従来より発行・検証が速くなり、変更前のトークンも期限まで使えます。It doesn’t say they couldn’t. The new format is roughly 520 characters, improves issuance and validation speed, and older tokens keep working until they expire.
- ポコPokoじゃあ一番の収穫は、権限や対象リポジトリ、有効期限1時間はそのままで、処理が改善されることだね。So the key takeaway is better token handling without changing permissions, repository scope, or the one-hour lifetime.
- TECHガイドTECH Guideそうだね。次は、一時的なX-GitHub-Stateless-S2S-Tokenヘッダーが2026年11月30日に非推奨になる点に注目です。Right. Next, note that the temporary X-GitHub-Stateless-S2S-Token header will be deprecated on November 30, 2026.




