siftlode/backend/app
npeter83 6300550301 feat(auth): N3 — server-side multi-session account switch
Track every account that completes OAuth in a browser session (session 'account_ids',
~14-day cookie), so the user can switch between them without another Google round-trip.
New GET /api/me/accounts (switchable accounts, active flagged) and POST /api/me/switch
(guarded: target must be in the session list — proof it signed in here — and re-checked
against is_allowed in case the invite was revoked). Logout now signs out the active
account and falls back to the most recent remaining one, else clears the session. UI: the
account popover lists the other signed-in accounts (click to switch, reloads) plus an
'Add another account' action (-> /auth/login, which uses prompt=select_account).
Trilingual. Third step of Epic N.
2026-06-16 02:05:38 +02:00
..
routes feat(auth): N3 — server-side multi-session account switch 2026-06-16 02:05:38 +02:00
static chore: rebrand Subfeed -> Siftlode 2026-06-14 04:40:22 +02:00
sync fix(playlists): dirty lagged one edit (flush before fingerprinting) 2026-06-16 00:11:58 +02:00
youtube feat(playlists): make YouTube-mirrored playlists editable + syncable 2026-06-15 21:40:13 +02:00
__init__.py feat: M1 foundation — compose stack, FastAPI, Google OAuth, encrypted tokens 2026-06-11 01:01:37 +02:00
auth.py feat(auth): N3 — server-side multi-session account switch 2026-06-16 02:05:38 +02:00
config.py feat(playlists): YouTube playlist read-sync (backend) 2026-06-15 19:37:03 +02:00
db.py feat: M1 foundation — compose stack, FastAPI, Google OAuth, encrypted tokens 2026-06-11 01:01:37 +02:00
email.py chore: rebrand Subfeed -> Siftlode 2026-06-14 04:40:22 +02:00
main.py feat(playlists): backend foundation — model, migration, CRUD API 2026-06-15 14:37:09 +02:00
models.py feat(playlists): derive dirty from a synced-state fingerprint 2026-06-15 23:00:56 +02:00
quota.py feat(stats): per-user API quota attribution + admin usage page 2026-06-12 02:47:55 +02:00
scheduler.py feat(playlists): YouTube playlist read-sync (backend) 2026-06-15 19:37:03 +02:00
security.py feat: M1 foundation — compose stack, FastAPI, Google OAuth, encrypted tokens 2026-06-11 01:01:37 +02:00
state.py chore: structured timestamped logging across the backend 2026-06-11 04:26:18 +02:00