Skip to content

Multiple CLI instances: second window invalidates first window's auth token #2443

@XixiHuang333

Description

@XixiHuang333

Opening a second Copilot CLI window causes the first window to fail with:

Authorization error, you may need to run /login (Request ID:
CB7B:xx:431DB92:xx:xx)

Running /login in the first window then invalidates the second window. The two instances
keep "stealing" the auth token from each other.

I have been using multiple CLI windows in parallel for nearly 2 months without issues. This problem started approximately in the last few days (late March 2026).

Affected version

1.0.15-0

Steps to reproduce the behavior

  1. Open Terminal A, run copilot, start a conversation
  2. Open Terminal B, run copilot, start a different conversation
  3. Go back to Terminal A and send a message → Authorization error
  4. Run /login in Terminal A to re-authenticate
  5. Go back to Terminal B and send a message → Authorization error
  6. The two windows keep invalidating each other's tokens

Expected behavior

Multiple CLI windows should be able to run concurrently with independent sessions.

Additional context

  • OS: Windows 11
  • Previously worked fine with multiple windows for ~2 months
  • The token appears to be shared/rotated globally rather than per-session

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions