Skip to content

Windows: split CLI auth reports success but credentials are not available to a fresh process #87

Description

@QvxSphere

Summary

On Windows, ACP CLI browser authentication completes successfully, but the resulting session is not retrievable by a fresh CLI process.

Environment

  • OS: Windows
  • ACP CLI: 1.0.31
  • Authentication mode: documented non-streaming split flow

Reproduction

  1. Run acp configure start --json.
  2. Complete the returned URL's browser authorization.
  3. Run acp configure complete --request-id <requestId> --json.
  4. The completion command returns status: authenticated.
  5. In separate new CLI processes, run:
    • acp agent list --json
    • acp agent whoami --json
    • acp policy list --json

Actual result

Each fresh authenticated command immediately returns NOT_AUTHENTICATED.

Diagnostics (non-secret)

  • ACP config persists the owner identity.
  • The official cross-keychain dependency selects Native Windows Credential Manager / DPAPI.
  • Expected ACP Credential Manager records are absent after configure complete.
  • No filesystem or permission error was observed.
  • No plaintext token fallback was attempted.

Expected result

A successful configure complete should store credentials in the supported OS keychain such that fresh CLI processes can execute authenticated read-only commands.

Could you advise whether this is a known Windows issue and whether there is a supported fix or workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions