No response from API in Next.js
I’m having trouble with the API:
I added the OpenAPI plugin and tried calling the API, for example via /api/auth/reference, but I don’t get any response. The same issue occurs when I try to register a user. The requests keep loading for a long time until I eventually get an Internal Server Error.
Someone else seems to have the same problem: https://github.com/better-auth/better-auth/issues/1394
Has anyone ever had this problem and already has a solution?
I added the OpenAPI plugin and tried calling the API, for example via /api/auth/reference, but I don’t get any response. The same issue occurs when I try to register a user. The requests keep loading for a long time until I eventually get an Internal Server Error.
Someone else seems to have the same problem: https://github.com/better-auth/better-auth/issues/1394
route.ts in api/auth/[...all]auth.tsHas anyone ever had this problem and already has a solution?
GitHub
Is this suited for github? Yes, this is suited for github To Reproduce Develop a NestJS backend and integrate it with BetterAuth. Set up BetterAuth in Next.js according to the documentation and con...