Nextjs: 404 page when accessing /api/auth/login

Hi I followed the Quickstart documentation to the letter, only that I don’t have an page folder so my api folder is put in the src folder.
I passed the first checkpoint but the second failed, I received a 404-page.
I’ve been trying to solve this for an hour with no success.
Is there any way to solve this?

I’ve been messing around and changed the [...auth0].ts file to [...auth0]/route.ts. Because I found it on the internet but now I received a 405 error.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.