Skip to content

Auth: document multi-account switching as auth-model-blocked #115

Description

@Adron

Finding

Multi-account support (GET /api/auth/accounts, POST /api/auth/switch, POST /api/auth/remove-account) declares cookieAuth in the live spec, and the live probe confirms it:

GET /api/auth/accounts -> 401 {"error":"Unauthorized","code":"unauthorized"}

A bearer sync-token client cannot obtain a cookie session, so this is structurally unavailable — the same category as Stripe checkout/portal.

However

A native client could offer its own multi-account support without these endpoints: hold several sync-tokens locally and switch which one InterlinedApiClient uses. That is a client-side feature, not an API one — worth a decision rather than an assumption.

Acceptance criteria

  • CLAUDE.md records the cookie-only status of these three endpoints with the 2026-09-15 probe result.
  • A decision recorded: either implement client-side multi-token switching (which would mean extending CredentialStore from one session.dat to a keyed store, and coordinating with InterlinedList.Sync, which reads that exact file) or declare multi-account out of scope.
  • No UI ships that calls these endpoints with a bearer token.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Nice to have / low desktop valuearea:authArea: authblockedBlocked by the API or auth model, not by effortparityWeb/API feature-parity workquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions