Files
hermes-agent/plugins/dashboard_auth/basic
Maciej Lisiewski 3b0a5e728d fix(dashboard-auth): logout revokes by access token and Basic skips the refresh replay cache
A session_ttl_seconds above the 30-day refresh TTL left a logout after day 30
with no refresh token to revoke, so a copied access token kept working; logout
now also hands the access-token cookie to revoke_access_session (Basic revokes
its sid). Basic refresh tokens stay valid after use, so a copied RT's cached
rotation could outlive a logout that presented the browser's newer RT; Basic
opts out of success caching via refresh_reuse_detection = False. Adds tests
that kill the forget() link, generation and read-before-write mutants.
2026-11-12 15:55:24 +01:00
..