NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 35 min
Why access tokens are paired with refresh tokens, what rotation and reuse detection should do, and how to read an event export for them.
Ben was signed out of the mobile app at 09:23 this morning without having pressed anything. He logged in again two minutes later and carried on. Nobody on the engagement noticed until Sam Okoro's event export arrived, where the same minute holds the lines reuse_detected and family_revoked. Whether that was a fault or the design working is the question this lesson prepares you to answer.
Access tokens live for 15 minutes, which keeps a stolen copy short lived and also means a user would have to sign in every quarter of an hour. A refresh token closes that gap. It is a second, longer lived credential that the client keeps and sends only to the refresh endpoint to receive a fresh access token. The assessment question is how the platform limits the damage when that second credential is copied.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in