<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz" -->

---
title: Deprecating redirect URI fragments for OAuth and GitHub Apps
description: If your OAuth app or GitHub App uses a callback URL with a '#' fragment, GitHub will start rejecting it on February 1, 2027. Fragments aren't part of the OAuth...
canonical: https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Deprecating redirect URI fragments for OAuth and GitHub Apps | daily.dev
og:description: If your OAuth app or GitHub App uses a callback URL with a '#' fragment, GitHub will start rejecting it on February 1, 2027. Fragments aren't part of the OAuth...
og:url: https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz
og:image: https://api.daily.dev/og/posts/8NNvwO0oZ.png
og:image:alt: Deprecating redirect URI fragments for OAuth and GitHub Apps
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Deprecating redirect URI fragments for OAuth and GitHub Apps

**[GitHub Changelog](https://daily.dev/sources/github_updates)** · 1 min read · 0 upvotes · 0 comments

## Summary

If your OAuth app or GitHub App uses a callback URL with a '#' fragment, GitHub will start rejecting it on February 1, 2027. Fragments aren't part of the OAuth 2.0 spec (RFC 6749 section 3.1.2.3) and pose a security risk, since a fragment can be used to intercept an authorization code or token during a redirect. Until then, your app's settings show a warning and users signing in see a caution message. The change covers github.com on Free, Team and Enterprise Cloud, not GitHub Enterprise Server.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.blog/changelog/2026-11-30-deprecating-redirect-uri-fragments-for-oauth-and-github-apps>

## Questions this post answers

### Will GitHub reject OAuth redirect URIs that contain a # fragment, and when does it start?

Yes. Starting February 1, 2027, GitHub rejects OAuth authorization requests whose redirect URI contains a URL fragment, and developers can no longer register or use such a URI. Until then, the app's settings show a warning and users signing in see a caution message. This applies to both OAuth apps and GitHub Apps on github.com.

_Developers maintaining OAuth integrations follow deprecations like this on daily.dev before they turn into outages._

### Why are fragments in OAuth redirect URIs deprecated, and does it affect GitHub Enterprise Server?

Redirect URIs with fragments aren't part of the OAuth 2.0 specification (RFC 6749 section 3.1.2.3) and create a security risk, because a fragment can be used to intercept an authorization code or token during a redirect. The change applies to github.com on Free, Team, and Enterprise Cloud plans, not to GitHub Enterprise Server.

_Teams hardening their OAuth flows keep up with spec-compliance changes on daily.dev._

## Similar posts on daily.dev

- [Sunsetting SHA-1 in HTTPS on GitHub](https://daily.dev/posts/sunsetting-sha-1-in-https-on-github-fwvxha6ko) · GitHub Changelog · 2 upvotes · 0 comments
- [GHSA-prq8-7wvh-44qh \(oauth\): Cross-origin OAuth token-request redirects can expose signed request metadata](https://daily.dev/posts/ghsa-prq8-7wvh-44qh-oauth-cross-origin-oauth-token-request-redirects-can-expose-signed-request-me-ktjgrr4kt) · RUBYLAND · 0 upvotes · 0 comments
- [The Current Landscape of OAuth Attacks](https://daily.dev/posts/the-current-landscape-of-oauth-attacks-apgnaql8v) · Unit 42 · 0 upvotes · 0 comments
- [Notice about upcoming new format for GitHub App installation tokens](https://daily.dev/posts/notice-about-upcoming-new-format-for-github-app-installation-tokens-639qmlcxz) · GitHub Changelog · 1 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#authentication](https://daily.dev/tags/authentication), [#oauth](https://daily.dev/tags/oauth)

[View this post on daily.dev](https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Deprecating redirect URI fragments for OAuth and GitHub Apps","url":"https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz"},"datePublished":"2026-11-30T23:17:38.709Z","dateModified":"2026-11-30T23:17:56.143Z","description":"If your OAuth app or GitHub App uses a callback URL with a '#' fragment, GitHub will start rejecting it on February 1, 2027. Fragments aren't part of the OAuth...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/34f4a8b6a99dc2bd1aca6124143d4bcf?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/34f4a8b6a99dc2bd1aca6124143d4bcf?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitHub Changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitHub Changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/15004b7835da4d89b02b115871f0f6dc","url":"https://daily.dev/sources/github_updates"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,authentication,oauth","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitHub Changelog","item":"https://daily.dev/sources/github_updates"},{"@type":"ListItem","position":3,"name":"Deprecating redirect URI fragments for OAuth and GitHub Apps"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/deprecating-redirect-uri-fragments-for-oauth-and-github-apps-8nnvwo0oz#faq","mainEntity":[{"@type":"Question","name":"Will GitHub reject OAuth redirect URIs that contain a # fragment, and when does it start?","acceptedAnswer":{"@type":"Answer","text":"Yes. Starting February 1, 2027, GitHub rejects OAuth authorization requests whose redirect URI contains a URL fragment, and developers can no longer register or use such a URI. Until then, the app's settings show a warning and users signing in see a caution message. This applies to both OAuth apps and GitHub Apps on github.com. Developers maintaining OAuth integrations follow deprecations like this on daily.dev before they turn into outages."}},{"@type":"Question","name":"Why are fragments in OAuth redirect URIs deprecated, and does it affect GitHub Enterprise Server?","acceptedAnswer":{"@type":"Answer","text":"Redirect URIs with fragments aren't part of the OAuth 2.0 specification (RFC 6749 section 3.1.2.3) and create a security risk, because a fragment can be used to intercept an authorization code or token during a redirect. The change applies to github.com on Free, Team, and Enterprise Cloud plans, not to GitHub Enterprise Server. Teams hardening their OAuth flows keep up with spec-compliance changes on daily.dev."}}]}
```

