DEV Community

Discussion on: JWT Authentication with Access Tokens & Refresh Tokens In Node JS

Collapse
 
q_d_cd009cfa5ff99c45f714b profile image
Q D

Refresh token is used to obtain a new access token (short lived) when it is expired instead of using user/password. Refresh token has a longer life time.