firebase-admin-dotnet
firebase-admin-dotnet copied to clipboard
Add Email/Password Provider Configuration to Tenant
Feature Request: Add Email/Password Provider Configuration to Tenant
Description
I would like to request the addition of a feature in the FirebaseAdmin SDK for C# to allow adding email/password provider configuration to a specific tenant in Firebase Authentication. Currently, there is no direct API available in the SDK to enable and configure the email/password provider for a tenant.
Proposed Solution
Ideally, the FirebaseAdmin SDK for C# should provide a dedicated API or method to update the authentication configuration of a tenant and enable the email/password provider with specific settings such as password requirements.
In the node SDK version of Firebase you can do the following:
const tenant = await this.firebase
.auth()
.tenantManager()
.createTenant({
displayName: NAME,
emailSignInConfig: {
enabled: true,
passwordRequired: true
}
});
Alternatives
As a workaround, I understand that it is possible to make direct HTTP requests to the Firebase Authentication REST API to achieve this functionality. However, it would be more convenient and consistent to have this feature directly available in the SDK.
Thank you for considering this feature request. Please let me know if any further information is needed.