FastAPI Dependency Injection for Anthropic Claude: Isolating API Keys and Rate Limits Per Tenant
FastAPI Dependency Injection for Anthropic Claude: Isolating API Keys and Rate Limits Per Tenant When CitizenApp hit 15 tenants, I realized our sing…
Tech news from the best sources
FastAPI Dependency Injection for Anthropic Claude: Isolating API Keys and Rate Limits Per Tenant When CitizenApp hit 15 tenants, I realized our sing…
A semantic search system has already crossed its security boundary before generation begins: if retrieval admits another customer's chunk, no prompt…
Two tenants, two AI providers, two prompts. Sounds simple, and on day one it is. That's the trap. It stays simple right up until customer number two…
Most agent platforms give you one configuration file and hope. When you are running agents for more than one team — or more than one customer — a si…
FastAPI Middleware Error Recovery: Preventing One Broken Tenant from Taking Down Your Entire SaaS I learned this lesson the hard way at 2 AM when a…
You're building teams/workspaces on Supabase. A row belongs to a workspace, and a user can touch it if they're a member. Simple enough — until your…
Astro Content Collections for Multi-Tenant Help Docs: Rendering Tenant-Specific Documentation Without CMS Sprawl I've watched teams burn money on Co…
FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production I spent three days debugging why JWT validation was…
How to Implement Kubernetes 1.32 Multi-Tenancy with Capsule 1.3 and Kyverno 1.12 for 2026 SaaS The shift toward 2026 SaaS architectures demands robu…
In the first four chapters of this series I've talked about what the Auth Gateway decides. This chapter is about who it decides for. We run a multi-…
Originally published at hafiz.dev Every SaaS app eventually hits the same question: how do you make one application serve multiple customers with se…