Auth0 Extension Tools for MongoDB
A set of tools and utilities to simplify the development of Auth0 Extensions for MongoDB.
const tools = ;
A record provider exposes CRUD capabilities which makes it easy to interact with records from an Extension (eg: delete a record, update a record, ...). Depending on the underlying storage you may or may not have support for concurrency.
const db = 'mongodb://foo.bar.tld:1000';db;db;db;db;// Update document with id 1939393db;// Update document with id 1939393. If it doesn't exist, create it (upsert).const upsert = true;db;db;