Click in order · Next.js course · Module 7: Authentication and Authorization

Order: import → { → getServerSession

Arrange the getServerSession import syntax from NextAuth

Items to click

  • }
  • import
  • 'next-auth/next'
  • {
  • getServerSession
  • from

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