[FEATURE] Add "Claude Platform for AWS" / awsAuthRefresh entry to /login Third-party menu
Context
Claude Code supports awsAuthRefresh in ~/.claude/settings.json for Claude Platform for AWS users — a shell command (e.g. okta-aws-cli web) that refreshes AWS STS credentials via an organization's configured OIDC flow.
Today the /login Third-party submenu has entries for Bedrock and other third-party providers, but no entry for Claude Platform for AWS / awsAuthRefresh.
Request
Add a /login Third-party menu item — e.g. "Claude Platform for AWS (refresh credentials)" — that executes the awsAuthRefresh command configured in settings. Disabled or hidden when awsAuthRefresh is not set.
Why
Closes the loop on the companion bug #67529: when AWS STS tokens expire mid-session and Claude Code surfaces Please run /login, the user could actually run /login, choose the menu entry, and re-authenticate without exiting the session.
Related
Companion bug: #67529
4 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Having read the other issue, I see this as being similar but is still substantially different, although the both target the same awsAuthRefesh.
That other issue seeks to create a feature in another way.
This seeks to 1) expand an existing menu that handles every auth method except this one at 2) allow the user to use that existing menu to trigger an auth refresh that already exists within Claude Code but cannot be triggered.
The other issue suggested creating something new, this suggests adding a menu option to trigger functionality that already exists that is otherwise out of reach to the 3) brand new class of users from the 11 May 2026 GA release of Claude Platform for AWS (and as that other issue pre-dates this new service surface, this is a related but unique issue with a growing user base.
This feature has since been added to the product
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.