Put in order · NestJS course · Module 4: Authentication

Token refresh process

Arrange the steps of JWT token refresh:

Items to put in order

  • Server generates a new pair of tokens
  • Client sends the refresh token to the server
  • Server verifies the refresh token
  • Access token expires

You can check the correct answer by solving this task in the CodeWorlds game.