Skip to main content

Quiz: Authentication

Test what you learned in this lesson before moving on.

Lesson Quiz

Pass with 80% to complete this lesson.

1. Where should the main Auth.js configuration file be created?

2. How do you read the session in a Next.js Server Component?

3. What is the most efficient way to protect multiple routes from unauthenticated access?

4. Which package provides the Prisma adapter for Auth.js?