Question · Next.js course · Module 7: Authentication and Authorization

Authentication vs Authorization

What is the fundamental difference between authentication and authorization?

Answer options

  • Authentication is optional, authorization is required
  • Authentication uses cookies, authorization uses localStorage
  • Authentication verifies the user's identity, authorization checks their permissions
  • Authentication is for the frontend, authorization is for the backend

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