Multi-tenant Firebase via GCIP
Firebase Auth's standard product gives you one auth context per Firebase project — for a true multi-tenant SaaS, you upgrade to Google Cloud Identity Platform. GCIP projects can have multiple tenants under one project, with isolated user pools and configuration per tenant.
When a user authenticates against a GCIP tenant, the resulting ID token includes `firebase.tenant` set to the tenant id (e.g. `tenant-acme-en2vw`). Your backend should validate this claim and use it for authorization scoping in the same way you'd use `tenant_id` on a custom JWT.