lilith-platform.live/codebase/@features/api
Natalie 178a491304 fix(api/auth): restore /auth/refresh + /auth/logout
The admin SPA's useAuth hook probes /auth/refresh on mount and calls
/auth/logout on sign-out, but both were dropped in the per-feature → monolith
consolidation (they lived in the old @features/admin backend), so every page
load bounced back to SSO. Convert authSurface into createAuthSurface(opts) and
mount it before the /admin/* SSO guard: /refresh runs ssoRequired (401 on
missing/invalid cookie, 200 otherwise) and /logout expires the session cookie
via clearSessionCookie (idempotent 200).
2026-06-21 15:07:46 -05:00
..
config feat(api): Add inbox configuration and admin mail thread management UI/logic for thread listing and actions 2026-05-19 22:59:30 -07:00
scripts feat(seo): destination_slug pSEO tour linking + full NYC analytics coverage 2026-06-19 20:16:18 -05:00
src fix(api/auth): restore /auth/refresh + /auth/logout 2026-06-21 15:07:46 -05:00
tests/processors
.dependency-cruiser.cjs
.env.development chore(api): 🔧 Update .env.development with API-specific environment variables 2026-06-09 20:06:38 -07:00
bunfig.toml
package.json test(api): auto-skip DB-dependent tests off the fast LAN path 2026-06-19 18:20:11 -05:00
tsconfig.json fix(api): null-safe tour-stop hotels, declare sharp, exclude mcp-prospector 2026-06-19 06:46:08 -05:00