Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Email/Password Provider Configuration to Tenant #347

Open
jusvit opened this issue May 25, 2023 · 0 comments
Open

Add Email/Password Provider Configuration to Tenant #347

jusvit opened this issue May 25, 2023 · 0 comments

Comments

@jusvit
Copy link

jusvit commented May 25, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants