trading-platform/docs/02-definicion-modulos
Adrian Flores Cortes 149e44735f feat(auth): Implement auto-refresh token interceptor (ST4.1 partial)
BLOCKER-001: Auto-Refresh Tokens

Implemented:
 Centralized API client with auto-refresh interceptor
 Request queueing (prevents multiple simultaneous refreshes)
 Retry logic (max 1 retry per request)
 Token management functions (get/set/clear)
 Auth service migrated to apiClient
 ET-AUTH-007 technical specification

Core functionality complete - Users no longer need to re-login every hour.

Pending:
- ST4.1.2: Backend refresh token rotation
- ST4.1.3: Migrate other services to apiClient
- ST4.1.4: Secure storage (httpOnly cookies)
- ST4.1.5: E2E tests

Files:
- apps/frontend/src/lib/apiClient.ts (new, 237 lines)
- apps/frontend/src/services/auth.service.ts (updated)
- docs/.../ET-AUTH-007-token-lifecycle-autorefresh.md (new, 634 lines)

Part of ST4: Blockers P0 Resolution.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 19:16:39 -06:00
..
OQI-001-fundamentos-auth feat(auth): Implement auto-refresh token interceptor (ST4.1 partial) 2026-01-26 19:16:39 -06:00
OQI-002-education docs: Add 8 ET specifications from TASK-002 audit gaps 2026-01-25 14:20:53 -06:00
OQI-003-trading-charts docs: Add 8 ET specifications from TASK-002 audit gaps 2026-01-25 14:20:53 -06:00
OQI-004-investment-accounts feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00
OQI-005-payments-stripe [OQI-005] docs: Complete CAPVED documentation and module updates 2026-01-26 10:02:20 -06:00
OQI-006-ml-signals feat: Add comprehensive analysis and integration plan for trading-platform 2026-01-26 16:40:56 -06:00
OQI-007-llm-agent [TASK-2026-01-25-FRONTEND-ANALYSIS] docs: Add frontend specifications and user stories 2026-01-25 01:47:27 -06:00
OQI-008-portfolio-manager docs: Add 8 ET specifications from TASK-002 audit gaps 2026-01-25 14:20:53 -06:00
OQI-009-marketplace docs: Add 8 ET specifications from TASK-002 audit gaps 2026-01-25 14:20:53 -06:00
OQI-010-llm-trading-integration feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00
_MAP.md feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00