Open itsthemanish opened 1 week ago
Kindly provide a complete minimal reproducible code
I'll provide the minimal reproducible code shortly.
I've discovered that FirebaseAuth.instance.tenantId = tenantId;
is not setting the tenant ID on Windows; it continues to use the default tenant ID instead.
It seems that firebase_auth
for Windows may lack full support for multi-tenancy, specifically in setting the tenantId
. As a result, FirebaseAuth.instance.tenantId
might default to the primary tenant on Windows, rather than switching to a specified tenant ID.
cc @Lyokone
@Lyokone @SelaseKay Please let me know if anything is needed from my side.
I am experiencing the same issue on Windows as well.
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Windows
Description
I'm experiencing an error when using Firebase Authentication with multi-tenancy in my Flutter application. When setting the tenantId for authentication, the following error occurs:
[firebase_auth/unknown-error] An internal error has occurred
However, if I use the default authentication setup (without specifying a tenantId), it works as expected.
Reproducing the issue
Firebase Core version
3.6.0
Flutter Version
3.24.3
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippet```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```
Additional context and comments
No response