ConvexAuth+Next.js: should I implement `/api/sign-in`?
When I call
useAuthActions().signIn('resend', formData), I see that the request goes to my server's api/sign-in, which is 404. I read here that this is the default value. However, the docs does not mention that I have to configure this route somehow. I thought this is handled by
convexAuthMiddleware, but this isn't true.I even tried to do the following, but without success:
Maybe I'm missing something but it's really unclear what to do with the
api/sign-in route.Also, I'm acknowledged that
auth.js, especially next-auth, tells us to create these routes. But since Convex Auth docs doesn't mention it, I'm not sure if these two approaches will conflict.