AIFeed

Deprecating redirect URI fragments for OAuth and GitHub Apps

Summary

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 c…

Original text(via GitHub Changelog)

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.

caution warning shown to developers in their app's settings when the app uses a redirect URI that contains a URL fragment
caution warning shown to developers in their app's settings when the app uses a redirect URI that contains a URL fragment

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.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by GitHub Changelog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗