Unable to use `mongodb` client
Hey there, I am having an issue using MongoDB with Better Auth. I have correctly initialized a mongodb client it seems, but Better Auth seems to be having an issue with it. If you have any pointers on how I might begin to debug this, I would greatly appreciate it.
Error following
authClient.signUp()
. I can send the full error if needed by I am limited by Discord's post length here. Here the database is connected successfully.
/lib/auth/server.ts
/lib/db/mongodb.ts
2 Replies