A question regarding the learn next.js dashboard demo and next-auth
Answered
Valentine ant posted this in #help-forum
Valentine antOP
Hi, I was wondering why the next-auth documantaion states that config should be in [...nextauth].js in pages/api/auth while the learn next js dashboard app uses auth.config.ts in the root folder. I guess this is just a matter of paths, but it looks a little confusing.
Answered by Ray
because the doc on next-auth is for v4, and learn nextjs dashboard is using v5-beta
2 Replies
because the doc on next-auth is for v4, and learn nextjs dashboard is using v5-beta
Answer
Valentine antOP
Thanx