Skip to content

Epic: Auth flows — reset, verify, logout, multi-account #111

Description

@Adron

Summary

LoginWindow does sync-token sign-in, register and forgot-password. Twenty-three /api/auth/* operations are unimplemented — most are OAuth provider legs (covered in the Cross-posting epic), but several core flows are missing and some are genuinely cookie-only.

Unimplemented core flows

Method Path Auth reality
POST /api/auth/reset-password bearer/cookie per spec
POST /api/auth/verify-email bearer/cookie per spec
POST /api/auth/verify-email-change bearer/cookie per spec
POST /api/auth/undo-email-change bearer/cookie per spec
POST /api/auth/logout bearer/cookie per spec
POST /api/auth/login cookie-session login — not this client's path
GET /api/auth/accounts cookieAuth only
POST /api/auth/switch cookieAuth only
POST /api/auth/remove-account cookieAuth only
POST /api/auth/send-verification-email cookieAuth only

Live verification (2026-09-15)

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

Confirms the cookie-only group. A bearer-token client structurally cannot obtain a cookie session, so multi-account switching is auth-model-blocked — the correct outcome is to document it, not to build a failing button.

Repo conventions to follow

  • Service: one partial class InterlinedApiClient file per domain in InterlinedList/Services/.
  • Wire types in InterlinedList/Models/ matching real API JSON.
  • ViewModel per view in InterlinedList/ViewModels/ (CommunityToolkit.Mvvm ObservableObject + [RelayCommand]).
  • View is a self-contained UserControl in InterlinedList/Views/ that news up its own VM from AppServices.Session.
  • Strata tokens only — no colors/fonts/radii outside Resources/Palette.xaml + Theme.*.xaml.
  • Read-after-write for any mutating endpoint whose response envelope has not been live-verified.

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

    P2Deptharea:authArea: authepicFeature-area parent issue with sub-issuesparityWeb/API feature-parity work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions