[FEATURE] Add "Claude Platform for AWS" / awsAuthRefresh entry to /login Third-party menu

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jun 11, 2026 · closed Jul 2, 2026

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

View original on GitHub ↗

4 Comments

github-actions[bot] · 4 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/11264

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

arcaven · 4 months ago
Found 1 possible duplicate issue: 1. [[FEATURE] Interactive awsAuthRefresh #11264](https://github.com/anthropics/claude-code/issues/11264) This issue will be automatically closed as a duplicate in 3 days. If your issue is a duplicate, please close it and 👍 the existing issue instead To prevent auto-closure, add a comment or 👎 this comment 🤖 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.

arcaven · 3 months ago

This feature has since been added to the product

github-actions[bot] · 1 month ago

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.