Using AuthJS with dev docs vs NextJS learn course
Unanswered
Dwarf Hotot posted this in #help-forum
Dwarf HototOP
I finished the official Next JS learn course and followed the authentication instructions here: https://nextjs.org/learn/dashboard-app/adding-authentication
But I've noticed chatgpt and the authjs dev docs have different setup instructions. One of the main things is that the nextjs course didn't have a app/api/auth/[...nextauth]/route.ts route, but chatGPT and authjs do. Example: https://authjs.dev/getting-started/installation
I know both probably work, but which should I follow and how are these two similar and different? Any tips would be appreciated. Thanks!
But I've noticed chatgpt and the authjs dev docs have different setup instructions. One of the main things is that the nextjs course didn't have a app/api/auth/[...nextauth]/route.ts route, but chatGPT and authjs do. Example: https://authjs.dev/getting-started/installation
I know both probably work, but which should I follow and how are these two similar and different? Any tips would be appreciated. Thanks!