DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Node.js
What's the purpose of pairing a short-lived access token with a longer-lived refresh token?
A
It has no real purpose, just convention
B
It limits how long a leaked/stolen access token remains useful, while avoiding forcing the user to re-enter credentials frequently
C
It makes tokens smaller in size
D
It removes the need for any expiration at all
Check Answer