GitHub to require 8-hour expiring tokens for new apps from Jan. 5
In brief
From Jan. 5, 2027, GitHub will allow only expiring user access tokens for newly registered GitHub Apps and OAuth apps.
50 sec read
Translated from the Korean original. Read the original in Korean
Why it matters
- A token that never expires can be used until it is revoked if it leaks, and new apps will be free of that risk.
Key details
Expiring tokens had been on by default for new apps, but developers could turn them off at registration and receive tokens that never expire. From Jan. 5, 2027, that opt-out setting will be removed. Apps will use the refresh token they receive along with the access token to get a new access token without making users log in again. Tokens already issued will not be affected.
Context
GitHub said on Dec. 2 that it will introduce platform limits on core features for enterprises and organizations from Jan. 5, 2027. The new token policy takes effect the same day and applies to GitHub.com and GHE.com.