[BUG] VS Code extension v2 doesn't show messages from awsAuthRefresh
Status Fixed / completed
Maintainer reply ✓ Yes — blois
Activity 8 comments · opened Oct 29, 2025 · closed Oct 31, 2025
💡 Likely answer: A maintainer (blois, collaborator)
responded on this thread — see the highlighted reply below.
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?
I'm using Claude Code with Bedrock, and I configured awsAuthRefresh for re-authenticating. While Claude Code on terminal successfully shows stdout output from awsAuthRefresh, Claude Code extension v2 (without terminal) doesn't show it. Due to this, I cannot notice when the extension pauses for authentication.
What Should Happen?
The extension shows messages from awsAuthRefresh.
Error Messages/Logs
N/A
Steps to Reproduce
- Create ~/.claude/settings.json with awsAuthRefresh
- Configure VS Code extension
- Open the extension on VS Code, and wait for the current session's expiration
- The extension does run a command specified by awsAuthRefresh, but it doesn't show any messages from the command. In fact, the internal log file of the extension ("Claude VSCode.log") has the messages.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.28 (Claude Code)
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Other
Additional Information
- VS Code extension anthropic.claude-code 2.0.28
- The log file can be seen by, Command + Shift + P -> "Developer: Open Extension Logs Folder" -> "Anthropic.claude-code/Claude VSCode.log"
8 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
https://github.com/anthropics/claude-code/issues/9471 is a similar issue to this, but it appears that the issue doesn't use awsAuthRefresh.
This should now be fixed in version
2.0.30.@blois Thanks for looking into this issue! However, the extension still doesn't show any messages from the awsAuthRefresh command even after upgrading the extension to 2.0.30 and restarting VS Code on my environment. I've confirmed that the messages were shown in the extension logs (
Claude VSCode.log).Please let me know if there are any other logs you need to fix this.
Interesting- can you say more about what messages appeared in the extension logs?
And is your
awsAuthRefreshpretty much justaws sso login?Sure!
No, but a similar tool. I'm using https://github.com/sorah/mairu for authentication with AWS Identity Center (formerly, AWS SSO), and my
awsAuthRefreshis likemairu login my-server. It will show an login URL like below, and after clicking the URL, the login will be completed.So my expectation was that these message lines are shown in the extension pane.
Like the following:
// Please note that I replace my own server name to "my-server" for hiding the name.
Ok, I see a race condition that can result in this under some configurations. A fix will be arriving soon, thanks for your patience!
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.