Firstly, I want to say that I’m really enjoying the course—it’s well-structured and engaging. I understand that some updates in the tech world are inevitable, so it’s not surprising to encounter a few changes.
That said, I ran into significant issues with the next-auth section of the tutorial. After troubleshooting for a while, I realised that the instructions provided in the course no longer work due to major changes in the next-auth package and its compatibility with Next.js version 15
Here are the key issues I noticed:
-
You now need to install next-auth@beta to work with the App Router in Next.js v15.
-
NextAuth now requires an auth.ts file in the project’s root directory to define the configurations.
-
The route.ts file and its structure has changed.
For anyone following the tutorial, I recommend checking the official NextAuth documentation. I hope the course can be updated to reflect these changes. Thank you.