One tenant, multiple sites with isolated user bases?

Hello.

One tenant, several separate applications/sites. Let’s say 20. Each site should have their own user base for control reasons.

How is this architecture best realized?

Hello @mikael2,

Welcome to the Auth0 Community!
Based on the integration that you mentioned, I would say there are a couple of variables that you need to consider, one main aspect being what type of databases would suit your need best, per each app. You can set up 20 different standard or custom databases within your tenant and only toggle one application for each, to maintain the user separation, but in addition :

  • if your users’ identities are managed externally, you can also utilize either Social Connections or Enterprise Connections, if these suit your needs and are available to you. Once again, an application will need to be enabled for each connection;
  • if you want to use custom domains, please keep in mind that you can only have one setup per tenant, so multiple custom domains would not fit your one tenant criteria. This being said, you can set up multiple tenants and configure a custom domain on each tenant;
  • another layer of separation that comes to mind would be to utilize Role-Based Access Control, if you would like your users to have different privileges within applications.

Thank you!
Gerald

2 Likes