[BUG] AWS SSO login prompt not displayed in Docker, only visible in debug logs

Resolved 💬 1 comment Opened Oct 16, 2025 by uwelo Closed Oct 18, 2025

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 using Claude Code v2 in Docker with AWS Bedrock authentication, the AWS SSO login URL and device code are no longer displayed in the main output.

The SSO login prompt is only visible when running with the --debug flag and checking the debug logs. Users must open the logs to retrieve the authorization URL and code.

In my .claude/settings.json I have the following configuration:

 { "awsAuthRefresh": "aws sso login --profile claude" }

What Should Happen?

The AWS SSO authorization URL and device code should be displayed in the main output/interface, as they were in Claude Code v1.

Steps to Reproduce

  1. Run Claude Code v2 in Docker
  2. Configure AWS Bedrock as the model provider (requiring AWS SSO authentication)
  3. Start Claude Code without the --debug flag
  4. Observe that no SSO login prompt appears in the output

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.0.92

Claude Code Version

v2.0.20

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

From the debug logs, the expected output should be:
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:

https://xxxx.awsapps.com/start/#/device

Then enter the code:

XXXX-YYYY

This information should be displayed in the main interface, not only in debug logs.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗