Add device/session management for Claude Code authentication
Status Closed — duplicate
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 3 comments · opened Feb 12, 2026 · closed Feb 15, 2026
Feature Request
Problem
There is currently no way to view or manage which devices/sessions Claude Code is authenticated on. If a user wants to check where they're logged in or revoke access from a specific device remotely, there's no mechanism to do so.
Proposed Solution
Add device/session management capabilities, similar to what GitHub, Gmail, and other services provide:
- View active sessions: A list of all devices/sessions where Claude Code is currently logged in (device name, OS, location, last active time)
- Remote logout: Ability to revoke access or log out from specific devices remotely
- CLI commands: Accessible via the CLI (e.g.,
claude sessions list,claude sessions revoke <id>) and/or the Anthropic Console
Why This Matters
- Security: Users need visibility into where their account is authenticated, especially if a device is lost or compromised
- Account hygiene: Ability to clean up old sessions from devices no longer in use
- Parity with other tools: Most developer tools (GitHub CLI, cloud provider CLIs) offer session/device management
Current Workarounds
- Manually running
claude logouton each device with physical access - Rotating API keys (only applies to key-based auth)
- Changing account password to invalidate OAuth sessions (nuclear option)
None of these provide visibility into active sessions or targeted revocation.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗