The Role of Access and Refresh Tokens in Backend Authentication
Access Token: Short lived (1d). It allows a user to stay logged in for a short duration. If the user gets logged out, they need to re-login.
Refresh Token: Long lived. It helps to trigger an end-point or to obtain a new Access Token.
But after some r...
wn.hashnode.dev2 min read