27 May 2026

Posts published on funGyaan on 27 May 2026.

May 2026

MTWTFSS
123
45678910
11121314151617
18192021222324
25262728293031

  1. Access tokens and refresh tokens: why two, where do they live, and what happens when one leaks?

    Why two tokens: a short-lived access token shown to every API, and a longer-lived refresh token shown only to the auth server and rotated, so reusing a stolen one raises an alarm. Diagrams of the flows, where to store each token on web, mobile and server, and what an attacker gets from each kind…

    · 7 min read · Security