claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

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

Open abishekmuthian opened this issue 4 months ago • 14 comments

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

abishekmuthian avatar Nov 16 '25 06:11 abishekmuthian

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

github-actions[bot] avatar Nov 16 '25 06:11 github-actions[bot]

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

abishekmuthian avatar Nov 16 '25 06:11 abishekmuthian

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

ryangraham avatar Nov 18 '25 07:11 ryangraham

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.

irelandpaul avatar Nov 18 '25 16:11 irelandpaul

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

NivenPrasad avatar Dec 18 '25 03:12 NivenPrasad

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

depalmami avatar Dec 20 '25 15:12 depalmami

Same

fnkmstrfsk avatar Dec 22 '25 00:12 fnkmstrfsk

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

hwells4 avatar Dec 25 '25 19:12 hwells4

@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.

abishekmuthian avatar Dec 26 '25 06:12 abishekmuthian

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

tube2sheet avatar Jan 04 '26 12:01 tube2sheet

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.

wissem avatar Jan 04 '26 17:01 wissem

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

metahades18892 avatar Jan 06 '26 07:01 metahades18892

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.

robertartress avatar Jan 07 '26 17:01 robertartress

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.

andreyvit avatar Jan 08 '26 11:01 andreyvit