Skip to content

GitHub Copilot: Deprecating redirect URI fragments for OAuth and GitHub Apps

Released · GitHub / Microsoft

Breaking

What the release notes say

Retired November 30, 2026 • 1 minute read Deprecating redirect URI fragments for OAuth and GitHub Apps 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 ( RFC 6749 section 3.1.2.3 compliance) and introduce a security risk, since a fragment can be used to intercept an authorization code or token during a redirect. If your GitHub App or OAuth app registers a callback URL containing a # fragment, you’re affected by these changes.

After the enforcement of the deprecation, developers will no longer be able to register or use a redirect URI that contains a URL fragment. In the meantime, you’ll see a warning in your app’s settings, and users signing in through your app will see a caution message. These changes apply to github.com across the Free, Team, and Enterprise Cloud plans and are not applicable to GitHub Enterprise Server. Learn more about user authorization callback URLs in GitHub Apps and OAuth apps .

  • Application Security Share Copied

Share Copied Related Posts

  • NOV.30 Improvement GitHub Code Quality enablement and disablement fixes
  • ×
  • Application Security
  • Enterprise Management Tools
  • … +1
  • NOV.23 Improvement Secret scanning reduces false positives for Slack
  • Application Security
  • NOV.23 Improvement Code coverage uploads now flag invalid report formats
  • Application Security
  • NOV.18 Improvement Security risk assessments run automatically on GitHub Team
  • Application Security
  • NOV.17 Release Secret scanning on demand for developers and agents
  • ×
  • Application Security
  • Copilot
  • … +1
  • NOV.16 Improvement Bulk start AI Scan for repositories
  • Application Security
  • NOV.13 Improvement Manage AI Scan for repositories using the REST API