Next.js v15 404 error on login
I am working through a tutorial and I am getting a 404 error when going to localhost:3000/api/auth/login. Are there any suggestions on locating the issue? I have setup the project per the docs, so I'm not sure why I am getting a 404 error.
2 Replies
Can you share the
app/api/auth/[kindeAuth]/route.js
file?
Also check that you spelled all the file names correctly when you created them because maybe you made a mistake in the [kindeAuth]
or in the /auth
.I found my error, I missed the auth directory and just had [kindeAuth] in the api directory.