Question 12/15
advanced
Select one answer

How should you handle authentication in Next.js?

Only through client-side localStorage
Using NextAuth.js, JWT/sessions, middleware for route protection, and HTTP-only cookies
Only through URL parameters
Authentication is not supported in Next.js

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.