[BUG] Claude Code Web Github connection goes on infinite loop

Resolved 💬 19 comments Opened Nov 16, 2025 by abishekmuthian Closed Mar 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I try to connect to the GitHub in Claude Code web it goes in a loop from Claude Code Web->GitHub->Claude Code Web -> GitHub even if all the permissions are given, cache is cleared and in different browsers.

To break the loop, I have to start a Claude Code session in iOS app and then access the Claude Code Web in the browser.

What Should Happen?

Claude Code Web GitHub connection should work without infinite loop.

Error Messages/Logs

Steps to Reproduce

  1. Go to claude code web, click connect to GitHub.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Research Preview

Platform

Other

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

19 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3466
  2. https://github.com/anthropics/claude-code/issues/6063
  3. https://github.com/anthropics/claude-code/issues/10343

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

abishekmuthian · 8 months ago

Referred issues don't have clear information on whether it's related to Claude Code Web.

ryangraham · 8 months ago

Came here because I have the same issue. Thought I would try out web once instead of cli, but no joy.

irelandpaul · 8 months ago

Also came here for this same issue. I pulled it up on an Android device on Chrome but it showed the same onboarding screen. I refreshed and it disappeared and it now also works on my desktop browser.

NivenPrasad · 7 months ago

Hi, I am having this issue and tried all workarounds include accessing via mobile to break the loop - it keeps me in the https://claude.ai/code/onboarding loop

depalmami · 6 months ago

Same here, both with The iOS app and The web version.

fnkmstrfsk · 6 months ago

Same

hwells4 · 6 months ago

@abishekmuthian did you ever get this worked out? i've been completely unable to use claude code web

abishekmuthian · 6 months ago

@hwells4 Like I mentioned in the OP, using the iOS app to make the GitHub connection worked then and I didn't have the need to connect again with GitHub.

tube2sheet · 6 months ago

I have the same issue. Claude code mentions that it cannot access private repos.

wissem · 6 months ago

same issue, tried both iOS and web. Even using different GitHub account / org still get stuck on the loop

UPDATE: going to Settings -> Connectors -> Disconnect Github. Then on Github uninstall Claude Github App and reovking oauth access. Then once you connect the account again it works for me without the redirect loop.

metahades18892 · 6 months ago
UPDATE: going to Settings -> Connectors -> Disconnect Github. Then on Github uninstall Claude Github App and reovking oauth access. Then once you connect the account again it works for me without the redirect loop.

1000% workss

robertartress · 6 months ago
same issue, tried both iOS and web. Even using different GitHub account / org still get stuck on the loop UPDATE: going to Settings -> Connectors -> Disconnect Github. Then on Github uninstall Claude Github App and reovking oauth access. Then once you connect the account again it works for me without the redirect loop.

Tried every step and this still did not work for me.

andreyvit · 6 months ago

Happens for me to. Disconnecting and reconnecting does not help:

going to Settings -> Connectors -> Disconnect Github. Then on Github uninstall Claude Github App and reovking oauth access. Then once you connect the account again it works for me without the redirect loop.
AlexPl292 · 6 months ago

My Claude Code on the web was stuck on https://claude.ai/code/onboarding, stuck in an infinite loading loop. However, after I downloaded Claude on my phone and completed the onboarding there, the browser version started working as well.

andyisnowskynet · 5 months ago

I was able to get through the onboarding loop by using the iOS app however that still did not clear the onboarding loop within chrome, firefox, and mac desktop app. Using safari browser finally worked for me and then once i completed the onboarding in safari i was no longer redirected in chrome/desktop

simontom · 4 months ago

The best comment ever about Claude being stuck (and "unusable") is "I have a feeling they vibecoded the whole thing and didn't vibetest it well enough."
Less funnier thing about that is - not able to create an api key.

github-actions[bot] · 3 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.