Question · NestJS course · Module 4: Authentication
Access Token vs Refresh Token lifetime
What is the typical difference in lifetime between an Access Token and a Refresh Token?
Answer options
- Both have the same lifetime
- Access Token has a long lifetime, Refresh Token a short one
- Access Token has a short lifetime (minutes), Refresh Token a long one (days)
- Refresh Token is single-use and expires immediately
You can check the correct answer by solving this task in the CodeWorlds game.