Next-auth Receiving 404 after login attempt in Next-auth development env. i have next-13.4.9 and next-auth-4.22.1, i tried many ways but didnt helped. not sure whats the problem.
Next-auth Receiving 404 after login attempt in Next-auth development env
282 views Asked by Tariq Khan At
2
In my case the solution was placing the file
[...nextauth].tsinto the folderpages/api/auth. The folderpagesshould be at same level as the app folder. To make this change effective you should restart the server.