GitHub to reject OAuth redirect URI fragments from February
Published:
Starting February 1, 2027, GitHub will reject OAuth authorization requests whose redirect URIs contain fragments. The change affects GitHub Apps and OAuth apps on GitHub.com.
GitHub has announced a change to callback addresses used by GitHub Apps and OAuth apps. From February 1, 2027, authorization requests containing a fragment in the redirect URI will be rejected, and registering such addresses will no longer be possible. Until enforcement, GitHub says it will display warnings in app settings and to users signing in. The change covers GitHub.com, including Enterprise Cloud, but not GitHub Enterprise Server. GitHub notes that fragments are outside the OAuth 2.0 redirect URI specification and can be used to intercept an authorization code or token.
Why it matters
Development teams should check registered callback URLs for fragments and update affected integrations before enforcement.
Source retrieved: 2026-12-05
Event date: 2027-01-31