Introducing Auth0's Next.js SDK

I see. The route remains the same, but you need to add a signup handler. Here is the documentation for it:

If you are using App Router, your path would be app/api... instead of pages/api...

Hope that helps