trading-platform/orchestration
Adrian Flores Cortes 54ea125d82 docs(auth): Document BLOCKER-001 Token Refresh improvements (Phases 1-2)
FASE 1 : Rate limiting específico para /auth/refresh
- Nuevo refreshTokenRateLimiter (15 refreshes/15min por token)
- Key generator: IP + hash(refreshToken)
- Previene abuse de tokens individuales

FASE 2 : Token rotation mechanism
- Backend code implementado (backward-compatible)
- Detección de token reuse → revoca todas las sesiones
- Nuevo refresh token en cada refresh
- Migration SQL creada: apps/database/migrations/2026-01-27_add_token_rotation.sql

Archivos de código modificados (en .gitignore):
- apps/backend/src/core/middleware/rate-limiter.ts
- apps/backend/src/modules/auth/auth.routes.ts
- apps/backend/src/modules/auth/services/token.service.ts
- apps/backend/src/modules/auth/types/auth.types.ts
- apps/database/ddl/schemas/auth/tables/04-sessions.sql
- apps/database/migrations/2026-01-27_add_token_rotation.sql

Pendiente: FASE 3 (Session Validation) y FASE 4 (Proactive Refresh)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 00:46:19 -06:00
..
_archive [ESTANDAR-ORCHESTRATION] refactor: Consolidate to standard structure 2026-01-24 14:38:26 -06:00
00-guidelines [SIMCO-V38] docs: Actualizar a SIMCO v3.8.0 + documentacion 2026-01-10 08:53:32 -06:00
analisis [CLEANUP] chore: Move OQI-006-INDICE.md to correct location 2026-01-25 13:28:58 -06:00
directivas feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00
inventarios docs(inventarios): Update all inventories with ST4.2 & ST4.3 changes 2026-01-26 23:40:54 -06:00
tareas docs(auth): Document BLOCKER-001 Token Refresh improvements (Phases 1-2) 2026-01-27 00:46:19 -06:00
trazas feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00
_inheritance.yml [ESTANDAR-ORCHESTRATION] refactor: Consolidate to standard structure 2026-01-24 14:38:26 -06:00
_MAP.md [ESTANDAR-ORCHESTRATION] refactor: Consolidate to standard structure 2026-01-24 14:38:26 -06:00
BOOTLOADER.md [TASK-2026-01-24-ESTANDAR-ORCHESTRATION] docs: Add BOOTLOADER.md and PROJECT-PROFILE.yml 2026-01-24 09:38:24 -06:00
CONTEXT-MAP.yml feat: Major platform documentation and architecture updates 2026-01-07 05:33:35 -06:00
DEPENDENCY-GRAPH.yml [ESTANDAR-ORCHESTRATION] refactor: Consolidate to standard structure 2026-01-24 14:38:26 -06:00
MAPA-DOCUMENTACION.yml [ESTANDAR-ORCHESTRATION] refactor: Consolidate to standard structure 2026-01-24 14:38:26 -06:00
PROJECT-PROFILE.yml [TASK-2026-01-24-ESTANDAR-ORCHESTRATION] docs: Add BOOTLOADER.md and PROJECT-PROFILE.yml 2026-01-24 09:38:24 -06:00
PROJECT-STATUS.md feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00
PROXIMA-ACCION.md feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment 2026-01-07 09:31:29 -06:00
TRACEABILITY.yml docs: Complete TASK-2026-01-25-FRONTEND-MODULE-DOCS 2026-01-25 23:23:22 -06:00