Mongoose adapter for Better Auth, enabling native models and populate
Better Auth’s official MongoDB adapter uses the low‑level driver, causing duplicate connections and broken .populate() when apps already use Mongoose. This library provides a Mongoose‑native adapter so Better Auth collections become real Mongoose models with validation, hooks, and population support. It also offers an optional tenant‑scoping plugin for multi‑tenant apps. Ideal for Node developers who want seamless authentication integration without extra drivers.
View on GitHub →AshwinSathian/better-auth-mongoose