ifixkart-admin/docs/adr/ADR-001-authentication.md
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- Backend: FastAPI app with all models, services, schemas, routes
- Admin Panel: Next.js dashboard with all modules
  (CRM, POS, repairs, warranties, billing, notifications, etc.)
- Ecommerce: storefront (submodule) + product catalog
- AI Agents: .agents/ skill library for Antigravity IDE
- Docs: architecture, billing, notification gateway markdown
- Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
2026-10-13 12:59:47 +05:30

610 B

ADR-001: Customer Authentication Architecture

Context

iFixKart requires secure customer authentication supporting both traditional credentials and Google OAuth 2.0.

Options Considered

  1. Third-Party Auth Provider (Auth0/Firebase): Quick setup, but vendor lock-in and high recurring costs at 100K daily active users.
  2. Custom JWT + Google OAuth Integration (Selected): RS512 JWT access tokens + opaque ULID refresh tokens stored in Redis.

Decision & Trade-offs

Select Option 2. Complete control over customer data, zero per-user licensing fees, seamless anonymous-to-customer cart merge.