Skip to content
Brief Security & Trust ·

GitHub will reject OAuth redirect URIs with fragments from Feb. 1, 2027

Apps whose callback URL contains a # fragment must remove it before enforcement begins.

In brief
  • GitHub will reject OAuth requests whose redirect URI has a # fragment from February 1, 2027. This covers GitHub Apps and OAuth apps on github.com.
  • GitHub says fragments carry a security risk. Until enforcement, app settings show a warning and users see a caution message.

GitHub said in a changelog post on November 30, 2026 that it will turn away OAuth sign-in requests whose redirect address includes a fragment. The redirect address is where a user lands after approving an app. A fragment is the part after a # sign. Enforcement starts on February 1, 2027. From then on, such an address cannot be registered, and apps cannot use one to sign people in.

In OAuth, the result of a sign-in travels back to the app through that redirect address, as an authorization code or token. GitHub said a fragment in the address creates a risk, because someone could intercept the code or token. It also said fragments are not part of the OAuth 2.0 standard. The post does not explain how an attack would work, how many apps are affected, or whether one has happened. Until February 1, app settings show a warning and users see a caution message. The change applies to github.com on Free, Team and Enterprise Cloud, not Enterprise Server.

A deprecation with a fixed date is an inventory problem. Leaders can ask who owns each app that signs in through GitHub, and which vendor tools register a callback URL with a fragment. They can also ask what the fallback is if logins fail on February 1.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: GitHub.