Better Auth with Convex working in dev but broken in prod
. In development, everything works fine however in production I am unable to login or sign up. I am able to create an account but in production it gives me this error:
My
getCurrentUser method looks like this:I would really appreciate some help here I've been trying for hours to resolve this and find out what is causing this because in production it is just not working. It's deployed on vercel
