firebase/firebase-cpp-sdk

Add tenantId Support in Firebase C++ SDK

Opened this issue · 3 comments

Description:
The Firebase C++ SDK does not expose the tenantId property on the user or auth instance, unlike other Firebase SDKs. This omission makes it impossible to implement multi-tenancy, a critical requirement for SaaS and multi-tenant applications.

Impact:

  • Developers using the C++ SDK face limitations in building multi-tenant applications.
  • Inconsistency with other Firebase SDKs creates unnecessary challenges.

Reference:
This issue is similar to the tenant management gap noted in flutterfire/issues/13500.

Proposed Solution:
Add tenantId as a property to the user and auth instance in the Firebase C++ SDK.

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

Thanks - we'll look into this.

@jonsimantov Could you please help resolve this? Our Windows multi-tenant app has been on hold for a long time due to this issue. This is a fundamental feature required for enterprise applications.