We need to migrate our authentication system to an external solution. We have a Vue.js frontend and a set of Services (mostly in Python) that talk to each other through APIs. This platform is multitenant, having all tenants in the same DB (MongoDB) and discriminating between them with a parameter value. So I'll be grateful if someone can share their experiences with any of these three options!

READ LESS
4 upvotes·27.1K views
Replies (1)
CEO & Co-Founder at Dechea·
Recommends
on
Auth0
Fauna
at
()

If these three are your options, I would recommend going with Auth0. They have all functionality available as developer API (Okta e.g. not) so you can manage your instance with Infrastructure as code and can also easily add functionalities relatively easily with the API. They are also really powerful if we're talking about ABAC (Attribute based access control). You can also enrich your access token with custom claims from your MongoDB, that can be probably really useful, as you said that you're dealing with multi tenancy.

We're using Auth0 in combination with Fauna Fauna is a database, so it would challenge you're mongodb. But Faunadb is the first database that implemented a full end user ABAC system directly in the database. (And also a lot easier than the ABAC systems from Okta or Auth0). This helps us, to use Auth0 only as identity platform and doing all the authorization with enriched claims over Fauna. With that you can skip in a lot of the cases you're backend, and you can request directly from the frontend your database (Blazing fast). Also, you can replace in some years Auth0 a lot easier with some upcoming cheaper (Auth0 was bought by Okta for a hilarious price) and "easy to use" passwordless identity provider like Passage.id

READ MORE
MongoDB vs Fauna (or Mongo vs Fauna) :: Fauna Documentation (docs.fauna.com)
4 upvotes·85.8K views
Avatar of Santiago Odiard