Commit Graph

5 Commits

Author SHA1 Message Date
Ryan Moon
b11b51aa1e feat: customer detail page, size snapshots table, Spaces provisioning, Redis status cache
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-03 20:07:19 -05:00
Ryan Moon
38341aa0a9 fix: switch from httpOnly cookies to localStorage Bearer token auth
Some checks failed
Build & Release / build (push) Has been cancelled
Cookie-based auth was unreliable through Cloudflare/nginx proxy — cookie
was being sent for some requests but not others. Switch to returning JWT
in login response, storing in localStorage, and sending as Authorization
Bearer header on all API calls. Eliminates all cookie/SameSite/Secure
proxy issues.
2026-04-03 18:09:24 -05:00
Ryan Moon
4bd1918e3b feat: add JWT auth with db-backed users
Some checks failed
Build & Release / build (push) Has been cancelled
- users table created on startup via migrate()
- POST /api/auth/setup to create first user (blocked once any user exists)
- POST /api/auth/login returns httpOnly JWT cookie (7d expiry)
- POST /api/auth/logout clears cookie
- GET /api/auth/me for auth check
- All /api/customers routes require valid JWT
- Frontend shows login form when unauthenticated
- Fix type errors in k8s, do, and pgbouncer services
2026-04-03 07:41:36 -05:00
Ryan Moon
8dbfb5810f fix: add /health endpoint for k8s probes
Some checks failed
Build & Release / build (push) Failing after 6s
2026-04-03 06:52:13 -05:00
Ryan Moon
8287fbf5b8 feat: initial lunarfront-manager app 2026-04-03 06:23:56 -05:00