multica/apps/web/app
Naiyuan Qing ae86bba599 feat(web): add client-side auth with session storage and route protection
- Add lib/auth.ts for cookie-based session storage
- Add AuthGuard component for route protection
- Update request.ts to include sid in Authorization header
- Update login-form.tsx to save session and redirect if authenticated
- Wrap ChatPage with AuthGuard

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-13 14:31:02 +08:00
..
api/desktop/session feat(web): add login page for desktop auth callback 2026-02-13 12:25:03 +08:00
login feat(web): add client-side auth with session storage and route protection 2026-02-13 14:31:02 +08:00
~offline feat(web): add PWA support for installability and offline fallback 2026-02-03 14:43:58 +08:00
favicon.ico fix(web): replace PWA icons with full-bleed versions to fix iOS white border 2026-02-05 14:46:30 +08:00
header.tsx feat(ui): unify font loading and add design system documentation 2026-02-11 14:50:19 +08:00
icon.png fix(web): replace PWA icons with full-bleed versions to fix iOS white border 2026-02-05 14:46:30 +08:00
layout.tsx feat(web): add login page for desktop auth callback 2026-02-13 12:25:03 +08:00
manifest.ts fix(web): replace PWA icons with full-bleed versions to fix iOS white border 2026-02-05 14:46:30 +08:00
page.tsx feat(web): add client-side auth with session storage and route protection 2026-02-13 14:31:02 +08:00
providers.tsx feat(web): add login page for desktop auth callback 2026-02-13 12:25:03 +08:00
sw-register.tsx feat(web): add PWA support for installability and offline fallback 2026-02-03 14:43:58 +08:00
theme-toggle.tsx refactor: migrate from Hugeicons to Lucide icons 2026-02-12 10:12:56 +08:00