Policy
Deprecating redirect URI fragments for OAuth and GitHub Apps
The Brief
- From February 1, 2027, GitHub will reject OAuth authorization requests whose redirect URI contains a URL fragment.
- The change applies to OAuth apps and GitHub Apps.
- GitHub says redirect URI fragments are not part of the OAuth 2.0 specification.
Why it matters
Apps whose OAuth callback URLs include a fragment (the part after #) will fail to authorize after the change takes effect, causing login disruption.
Who’s affected
- OAuth app developers
- GitHub App developers
What to do
- Check OAuth app and GitHub App callback URLs for a fragment and remove it before February 1, 2027.
- #github
- #oauth
- #authentication
- #deprecation
- #redirect-uri
Starting February 1, 2027, GitHub will reject OAuth authorization requests that use a redirect URI containing a URL fragment. If your app’s callback URL includes a fragment, remove it now to avoid disruption. Redirect URIs with fragments aren’t part of the OAuth 2.0 specification…