# GitHub to reject OAuth redirect URIs with fragments starting Feb. 1, 2027

> Starting Feb. 1, 2027, GitHub will reject OAuth authorization requests that use redirect URIs containing a URL fragment (#).

- **Publisher**: New Web Media
- **Section**: Tech
- **Published**: Dec 1, 2026, 17:54 KST (2026-12-01T08:54:45.996Z)
- **Updated**: 2026-12-01T08:57:54.281Z
- **Credit**: Edited by Seung Kim
- **Canonical URL**: https://newweb.media/en/a/261201-fqr9uy
- **Markdown URL**: https://newweb.media/en/a/261201-fqr9uy.md
- **Korean Original**: https://newweb.media/a/261201-fqr9uy

## Why it matters
- GitHub Apps and OAuth apps that use such callback URLs will have their sign-in integration blocked unless they fix the addresses before the effective date.

## Key details
GitHub posted a deprecation notice in its changelog on Nov. 30 (U.S. time). The change affects GitHub Apps and OAuth apps that have registered a '#' fragment in their callback URLs. After the change takes effect, such redirect URIs cannot be registered or used. Until then, a warning will appear on the app settings screen, and users who sign in through those apps will also see a caution message.

## Context
GitHub said redirect URIs containing fragments do not comply with the OAuth 2.0 specification (RFC 6749, Section 3.1.2.3). It said fragments could be used to intercept authorization codes or tokens during the redirect, creating a security risk. The change applies to the Free, Team and Enterprise Cloud plans on github.com and does not apply to GitHub Enterprise Server.

## What's next
- Work to remove fragments from callback URLs, following the app settings warnings, before the Feb. 1, 2027, effective date

## Key terms
- **URL fragment**: The identifier part of a URL that follows '#' and points to a specific location or partial resource within a document.
- **Redirect URI**: In OAuth, the client app address to which the authorization server sends the user back after completing the authorization process.

## Primary Sources
- [GitHub Changelog](https://github.blog/changelog/2026-11-30-deprecating-redirect-uri-fragments-for-oauth-and-github-apps)
- [GitHub](https://github.blog/changelog/2026-11-30-deprecating-redirect-uri-fragments-for-oauth-and-github-apps)

---
Tags: GitHub, OAuth, application security
