Repository navigation
Description
The problem
Description
After completing the OAuth authorization flow in the browser, GitHub Desktop fails to receive the auth token and shows "An unknown error occurred." The app is stuck in an unauthenticated state and the issue persists across multiple sign-in attempts.
Steps to reproduce
Open GitHub Desktop on macOS Tahoe 26.5
Go to GitHub Desktop > Settings > Accounts
Click "Sign in to GitHub.com" — the browser opens the GitHub authorization page
GitHub correctly identifies the account and presents the "Authorize GitHub Desktop" screen
Click "Continue" — GitHub authorizes the app successfully on the web side
GitHub Desktop receives the callback and immediately shows: "An unknown error occurred."
The app remains signed out; attempting to fetch/push shows an "Authentication failed" error
Expected behavior
After clicking "Continue" in the browser, the OAuth token should be passed back to GitHub Desktop and the user should be signed in successfully.
Actual behavior
The app shows "An unknown error occurred." and the user remains unauthenticated. The OAuth token registered on GitHub's side shows as "Never used", confirming the token is never successfully received by the app.
Environment
macOS version: Tahoe 26.5
GitHub Desktop version: 3.5.11
Browser used for OAuth: Chrome
Additional context
The GitHub side of the authorization completes without issue — the OAuth app entry for GitHub Desktop appears in GitHub Settings > Authorized OAuth Apps after each attempt. The failure appears to occur during the x-github-client:// URL scheme callback from the browser back to the app, which may be affected by changes to how macOS Tahoe handles custom URL scheme redirects or app entitlements.
Release version
3.5.11
Operating system
Mac OS Tahoe 26.5
Steps to reproduce the behavior
Steps to reproduce
Open GitHub Desktop on macOS Tahoe 26.5
Go to GitHub Desktop > Settings > Accounts
Click "Sign in to GitHub.com" — the browser opens the GitHub authorization page
GitHub correctly identifies the account and presents the "Authorize GitHub Desktop" screen
Click "Continue" — GitHub authorizes the app successfully on the web side
GitHub Desktop receives the callback and immediately shows: "An unknown error occurred."
The app remains signed out; attempting to fetch/push shows an "Authentication failed" error
Log files
No response
Screenshots
Additional context
Additional context
The GitHub side of the authorization completes without issue — the OAuth app entry for GitHub Desktop appears in GitHub Settings > Authorized OAuth Apps after each attempt. The failure appears to occur during the x-github-client:// URL scheme callback from the browser back to the app, which may be affected by changes to how macOS Tahoe handles custom URL scheme redirects or app entitlements.
Activity
niik commentedon May 29, 2026
Thanks for the report! Could you upload a log file from GitHub Desktop so that I could get some more information about this issue? To access the log files go to the menu in GitHub Desktop and select
Help> `Show Logs in FinderThe log files are created daily -- please upload a log file as an attachment from a day where you experienced the issue. Thanks!
OkgreatNicolas commentedon Jun 1, 2026
Here are logs from 2 different days ... I think there is an authentication problem or a bug in the token exchange. Commiting works, pushing works, automatic fetching fails. I also try to login every time but I'm not logged in anymore after pushing.
2026-05-28.desktop.production.log
2026-05-29.desktop.production.log
@niik
BagToad commentedon Jun 3, 2026
This is the same root cause as #22237, so I'm closing this out as a duplicate of that. Please follow #22237 for updates.
wvnr5m6h4r-commits commentedon Sep 8, 2026
#22237