Put in order · NestJS course · Module 4: Authentication

OAuth 2.0 flow

Order the steps of the OAuth 2.0 process (e.g., logging in via Google)

Items to put in order

  • Google redirects with an authorization code
  • User clicks 'Log in with Google'
  • User authorizes the application
  • Server exchanges the code for an access token
  • Redirect to the Google login page

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