Skip to main content

8 docs tagged with "multi-tenant"

View all tags

13. Authentication and User Management

Reference for how authentication, users, tenants, and per-tenant configuration work in sv0-platform. For the operational end-to-end flow, see [Authentication, end-to-end](../runbooks/authentication-end-to-end.md).

ADR-016: Multi-Tenant Authentication Architecture

Adopt a B2B multi-tenant authentication architecture with an external identity provider as source of truth, URL-scoped tenants, SecurityV0 as its own organization, and cross-tenant super-admins via internal-org membership.

ADR-019: Infrastructure-as-Code Strategy

Adopt Terraform + hybrid repo structure (new sv0-infrastructure for cross-cutting, existing in-repo modules stay) + Terraform Cloud free tier for state and runners. Design modules so each customer tenant can be stamped out as an independent stack for dedicated-deployment clients.

ADR-020: Multi-Region MongoDB Strategy via Per-Region Clusters

Serve EU and US clients via per-region MongoDB Atlas clusters with app-side tenant routing instead of a single MongoDB Atlas Global Cluster, with an explicit control-plane / tenant-data-plane split and region-tagged connector API keys to keep all hot-path lookups region-local.

Multi-Region Database Deployment

How a single global app domain (app.securityv0.com) serves tenants in different regions via per-region MongoDB Atlas clusters with application-side tenant routing — with phased deployment topology, request flow walkthroughs, and cost progression.

WorkOS Auth Implementation Plan

Phased implementation plan for adopting WorkOS as the identity provider, rebuilding tenant/user/membership model, URL-scoping tenants to /t/:slug, and establishing the SecurityV0 super-admin pattern. Implements ADR-016 and ADR-017.