OPEN SOURCE • REACT AUTH LIBRARY
cookiz-auth
Helps React developers integrate secure cookie-based authentication faster without storing tokens in localStorage.
Visit project01
The challenge
React applications often rely on localStorage token handling, which can create security risks and repetitive authentication setup across projects.
02
The approach
Built a lightweight React authentication library using secure HTTP-only cookies, customizable backend endpoints, React context, and reusable auth hooks.
03
How it works
The package provides an AuthProvider, useAuth hook, configurable login/logout/user/refresh endpoints, TypeScript support, and backend-agnostic session handling.
04
Outcomes & impact
Helps React developers integrate secure cookie-based authentication faster without storing tokens in localStorage.
- NPM
- Published Package
- HTTP-only
- Cookie Auth
- React
- Auth Provider + Hook
05