Auth0 Tutorials: Using MongoDB Atlas as a Custom Database

Adding to my previous comment, it seems like when I call create(), I’m unknowingly calling getByEmail(). The “User not found” error was coming from getByEmail() based on my experiment using console.logs.