Files
endurain/frontend/app
João Vitória Silva 4ee166fbfa Implement refresh token rotation and reuse detection
Adds rotated refresh token tracking to detect and prevent token reuse attacks. Introduces new models, schemas, and utilities for storing and checking rotated tokens, and invalidates all sessions in a token family if reuse is detected. Updates session and authentication logic to support token families, rotation counts, and last rotation timestamps. Includes Alembic migration for new columns and tables, and schedules cleanup of expired rotated tokens. Also improves frontend logout to refresh tokens before logging out.
2025-12-18 12:32:13 +00:00
..
2025-06-25 14:22:06 +01:00
2025-06-25 14:22:06 +01:00