GitHub requires expiring user tokens for new apps
Published:
From January 5, 2027, newly registered GitHub Apps and OAuth apps must use expiring user access tokens. Previously issued tokens are unaffected.
GitHub is changing the rules for newly registered applications on GitHub.com and GHE.com. From January 5, 2027, app registration will no longer offer an option to issue non-expiring user access tokens. Tokens for new apps expire after eight hours. Applications can use a refresh token to obtain another access token without asking the user to sign in again. Tokens already issued are unaffected. GitHub recommends that teams verify that their application or authentication SDK supports the refresh-token flow before registering a new app.
Why it matters
Development teams need to account for token refresh in new integrations; already issued tokens do not change automatically.
Source retrieved: 2026-12-06
Event date: 2027-01-04