claude-code - 💡(How to fix) Fix [BUG] Aws Auth Refresh broken on versions >0.92 [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52978Fetched 2026-04-25 06:15:41
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
0
Author
Timeline (top)
labeled ×6commented ×2

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

This is breaking the ability to upgrade to any new versions

RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

All versions greater than 0.92 have broken support for browser based SSO flows where the CLI displays a URL. The behavior on 0.92 and earlier (which is correct) is as follows.

  1. User types Claude
  2. Claude opens and immediately outputs auth link for user to click and open in browser

The behavior on 0.94 and up is the following

  1. User types Claude
  2. The do you trust this workspace prompt comes up
  3. In the background via debug logs Claude outputs the auth link but does NOT make it visible in the terminal to be clicked

Logs:

2026-04-24T16:24:06.899Z [DEBUG] Running AWS auth refresh command 2026-04-24T16:24:07.689Z [DEBUG] Visit the following link to sign into Claude. your-auth-link-here 2026-04-24T16:24:26.848Z [DEBUG] [3p-probe] bedrock-fallback hit 20000ms deadline; proceeding without it 2026-04-24T16:24:26.849Z 4. Auth times out after 20 seconds 5. User can finally see auth link after waiting 20 seconds

This is breaking the ability to upgrade to any new versions

What Should Happen?

  1. User types Claude
  2. Claude opens and immediately outputs auth link for user to click and open in browser

Error Messages/Logs

Steps to Reproduce

  1. Set up AWS auth link SSO
  2. Use a version above 0.94
  3. Try to open claude and see the delay

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

0.92

Claude Code Version

0.94+

Platform

AWS Bedrock

Operating System

Other Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

extent analysis

TL;DR

The issue can be temporarily worked around by waiting for 20 seconds after the "do you trust this workspace" prompt to see the auth link.

Guidance

  • The problem seems to be related to the timing of when the auth link is displayed in the terminal, with versions 0.94 and up delaying the display until after a 20-second timeout.
  • To verify the issue, try reproducing the steps with a version above 0.94 and observe the delay in displaying the auth link.
  • Consider downgrading to version 0.92, which is reported to work correctly, as a temporary workaround.
  • Investigate the debug logs to see if there are any other clues about what might be causing the delay in displaying the auth link.

Notes

The root cause of the issue is not clear from the provided information, but it appears to be related to changes introduced in version 0.94.

Recommendation

Apply workaround: wait for 20 seconds after the "do you trust this workspace" prompt to see the auth link, or downgrade to version 0.92, as the issue is reported to be a regression from a previous working version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Aws Auth Refresh broken on versions >0.92 [2 comments, 2 participants]