If your app offers “Sign in with GitHub,” check its callback URL. GitHub says that starting February 1, 2027, it will reject sign-in requests whose callback URL contains a fragment, meaning anything after a # character.

The callback URL (GitHub calls it the redirect URI) is the address GitHub sends users back to after they approve your app. It is registered in your GitHub App or OAuth app settings. If yours includes a #, sign-in through GitHub will fail once enforcement starts, and you will no longer be able to register such a URL.

Warnings are already showing

GitHub already shows a warning in the settings of affected apps, and people signing in through those apps see a caution message. GitHub’s reason is that fragments are outside the OAuth 2.0 specification and a fragment can be used to intercept an authorization code or token during the redirect.

Removing the fragment

Open the settings for each GitHub App or OAuth app you own and look at the callback URL. If it contains #, remove the fragment and update your app to receive the sign-in response at the plain URL. If a coding agent or app builder set this up for you, ask it where the callback URL is defined in your project. Change the registered value and the one in your code together so they still match.

The change applies to github.com on Free, Team, and Enterprise Cloud plans, not to GitHub Enterprise Server. If your callback URLs have no #, nothing needs to change.


End of article