When using latest NextAuth with Next.js 13.4 (app router), I'm getting 'MISSING_NEXTAUTH_API_ROUTE_ERROR'. This error says that I need to put the auth page inside 'pages' directory whereas this should no longer be true for the version of Nextjs I'm using.
NextAuth has also state that they support the app router now.
How this should be fixed?