Issues in Production Using Better Auth

Hey everyone, I’m running into an issue with Better Auth in production. I’m using Express.js for the backend and Next.js for the frontend. Even though I’m not using magic links or OAuth, Better Auth keeps adding /callback in the routes, e.g.: Production POST /api/auth/callback/sign-in/email → 404 Locally everything works fine: POST /api/auth/sign-in/email → 200 can anyone help me in this issue
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?