[Bug]: Claude shows "could not verify authentication status" on managed Bedrock installs #4928
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/server
Steps to reproduce#
This shows up on managed Amazon Bedrock installs, where the credentials come from MDM/AWS rather than claude auth login.
- Run Claude against Bedrock with managed credentials.
- Open T3 and let the Claude provider status check run.
- Look at the auth status.
checkClaudeProviderStatus decides auth state purely from the SDK capability-init probe. On managed Bedrock the probe comes back without any account info, so even though Claude is authenticated and working, T3 falls back to a warning and says it can't verify auth.
I've patched this locally: when the capability probe returns nothing, fall back to running claude auth status (with a 10s timeout), parse the JSON/text output to work out authenticated / unauthenticated / unknown, pull out apiProvider / authMethod / email when they're present, and label the Bedrock provider. "not logged in" style output maps to a clear error telling you to run claude auth login, and a timeout gets its own message.
Expected behavior#
Claude should show as authenticated and labelled "Amazon Bedrock", since the credentials are valid and Claude itself uses them fine.
Actual behavior#
T3 shows a warning — "Could not verify Claude authentication status from initialization result." — so a working provider looks unverified / unavailable. This doesnt stop requests from working.. But the model selector is disabled
Impact#
Major degradation or frequent failure
Version or commit#
main @ b125b7635
Environment#
apps/server, Claude Agent provider. Managed Amazon Bedrock installs where SDK init returns no capabilities/account info.
Logs or stack traces#
Screenshots, recordings, or supporting files#
Workaround#
None from the UI — the provider actually works, the status is just wrong.
Note
Grok responding on behalf of Julius.
This should be fixed by #18706, which just merged. On managed installs that ship Claude Code's enterprise
managed-mcp.json, the capability probe used to exit before init (Claude refuses--strict-mcp-configthere), which is what produced "Could not verify Claude authentication status from initialization result." The PR's Bedrock run now reportsauthenticated/ Amazon Bedrock. If you still see the warning on a build that includes #18706, please reopen with your Claude Code version and whethermanaged-mcp.jsonexists on the machine.juliusmarminge closed this
Sign in to join this conversation.
I have a session working with claude code and at the same time t3 codes says auth issue