Commit Graph

7 Commits

Author SHA1 Message Date
Alex Holliday
68f4adfbfe add v2 services 2025-09-23 15:22:08 -07:00
Alex Holliday
990aed9f2e Revert "Merge pull request #2973 from bluewave-labs/feat/v2/auth"
This reverts commit 72882fded9, reversing
changes made to bfb299cfca.
2025-09-23 14:05:23 -07:00
Alex Holliday
11ff99613a implement auth routes, add user migration 2025-09-22 15:56:41 -07:00
gorkem-bwl
05945a9a74 feat: add JWT cookie infrastructure
Adds the foundation for secure cookie-based authentication without changing
the authentication flow. This prepares the codebase for moving JWT tokens
from Redux state to httpOnly cookies in a follow-up PR.

Changes:
- Added cookie-parser dependency for HTTP cookie handling
- Added cookieParser() middleware to Express application
- Created cookieHelpers.js utilities for consistent cookie options
- Includes getAuthCookieOptions() for setting secure authentication cookies
- Includes getClearAuthCookieOptions() for clearing cookies on logout

Infrastructure only - no behavioral changes to authentication flow yet.

Files added/modified:
- package.json (cookie-parser dependency)
- src/app.js (cookieParser middleware)
- src/utils/cookieHelpers.js (cookie utilities)

Next steps:
- Follow-up PR will modify JWT verification to check cookies
- Enable secure cookie-based authentication
- Add logout functionality to clear httpOnly cookies

Risk level: LOW (infrastructure only, no authentication changes)
2025-08-11 17:47:09 -04:00
Alex Holliday
10c822c5d9 add legacy logger 2025-07-29 10:01:20 -07:00
Alex Holliday
de80a530e5 refactor logger 2025-07-28 15:03:28 -07:00
Alex Holliday
1c47c8ce2c move to src 2025-07-25 15:33:48 -07:00