# OAuth callback migration: verify the whole sign-in journey

2026-12-02 · 8plus

On November 30, 2026, GitHub announced that OAuth authorization requests using redirect URIs with URL fragments will be rejected from February 1, 2027. The change applies to github.com, not GitHub Enterprise Server. This is migration guidance, not a report of changes already made to a project.

## Inventory the URL actually sent

Do more than search a repository for callback. List application settings for production, testing, and local development, then compare them with the redirect URI in the actual authorization request. Environment variables, deployment settings, and code defaults can each hold a different value.

Consider the hypothetical URL https://example.com/auth/callback#dashboard. The fragment to investigate is #dashboard. Avoid a repository-wide replacement: ordinary page anchors and OAuth callbacks serve different purposes. Establish what a value does before changing it.

## Separate the callback from the destination

A callback endpoint continues authorization; the screen someone wants to return to after sign-in is a separate application decision. After removing a fragment, trace any navigation logic that depended on it. An empty fragment field does not establish that sign-in still works.

If destination storage must change, use the project’s existing reviewed authentication mechanism. Check allowed internal destinations and expiry handling. Do not improvise arbitrary external redirects or move authorization codes and tokens into navigation parameters. Verify implementation details against the authentication library in use.

## Test complete journeys

Create a matrix for sign-in from the homepage, entry through a protected page, cancelled authorization, and sign-in after session expiry. Record the starting point, expected outcome, observed result, and deployment version. Test existing accounts and new authorization relationships separately so a retained browser session does not hide a failure.

Useful evidence includes status codes, sanitized paths, and error categories. Avoid copying full URLs containing authorization codes, tokens, or personal information into tickets or analytics. Reviewers need enough evidence to understand a result, not every byte of the request.

## Turn the deadline into delivery dates

Assign owners and dates for inventory, testing, and production cutover. Keep a recovery path to a known working version, but check whether that version still meets upstream rules when recovery is needed. My recommendation is to treat this as a small delivery project whose completion means someone can finish the sign-in journey—not merely that a URL was edited.

## Sources

[Official announcement](https://blog.github.com/changelog/2026-11-30-deprecating-redirect-uri-fragments-for-oauth-and-github-apps/)

[Related reading](https://www.8plus.app/blog/coverage-report-delivery-contract-en)
