Security: Move token storage from localStorage to httpOnly cookie #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Auth tokens are stored in localStorage which is vulnerable to XSS attacks. Should use httpOnly cookies instead.
Location
frontend/src/lib/api.ts:16-28Acceptance Criteria
Related