Posts tagged “tokens”
-
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…