<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Multi-tenant :: Juice&#39;s documentation</title>
    <link>https://docs.pavellis.com/core/multitenant/index.html</link>
    <description>MultiTenant This core feature is useful to verify other core features that we have built because it is developed as a microservice. It’s integrated with Finbuckle to identity the tenant. We provide multiple choices for tenant data store:&#xA;File store EFCore store gRPC store We also provide the gRPC API to manage tenant information and tenant settings, so MultiTenant itself is a service with the full implementation of:&#xA;MultiTenant DBContext UnitOfWork pattern Audit gRPC API DDD/CQRS and Domain Events pattern Integration with event bus Per-tenant configuration/options xUnit helper To use multi-tenant, we must register services with Tenant type</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 24 Nov 2026 10:00:00 +0700</lastBuildDate>
    <atom:link href="https://docs.pavellis.com/core/multitenant/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tenant pattern (decision record)</title>
      <link>https://docs.pavellis.com/core/multitenant/tenant-pattern/index.html</link>
      <pubDate>Tue, 24 Nov 2026 10:00:00 +0700</pubDate>
      <guid>https://docs.pavellis.com/core/multitenant/tenant-pattern/index.html</guid>
      <description>Status: Accepted, 24 November 2026. Applies to: the Juice framework (Juice.Extensions.MultiTenant, Juice.EF.MultiTenant), juice-tenants (services/multitenant), and every service built on Juice (Juice.Observability, Juice.Notifications, the services under services/).&#xA;Context Juice services identify tenants in three different ways today.&#xA;How the request’s tenant is found Key used Checks the tenant exists and is active Juice framework and juice-tenants Finbuckle strategies: base path, header, route, per-tenant OIDC login The Identifier (the tenant’s name in URLs). The gRPC __tenant__ header carries the Identifier too Yes, through the tenant store Juice.Observability Each deployment serves one fixed tenant (JUICE_PLATFORM_TENANT_ID); the token’s platform_tenant claim must equal it The Id Its own platform_tenants table, provisioned at install Juice.Notifications The /tenants/{tenantId} route, which must match the token’s platform_tenant claim (TenantAccess) The Id (a GUID) No; only “is this application registered for the tenant” The differences cost us:</description>
    </item>
  </channel>
</rss>