- 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
11 lines
610 B
Markdown
11 lines
610 B
Markdown
# 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.
|