Add Email/Password Provider Configuration to Tenant

Đang mở
#347 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp

Hướng nghiên cứu

Bắt đầu bằng cách xem xét các API quản lý tenant của Firebase Admin .NET SDK và Firebase Authentication REST API, sau đó so sánh chúng với ví dụ về Node SDK trong issue. Công việc được hoàn tất khi có thể tạo hoặc cập nhật tenant thông qua C# SDK với email/password được bật và các yêu cầu về mật khẩu được cấu hình.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

api: auth

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.

Ngôn ngữ chính
C#
Star
407
Fork
147
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/firebase-admin-dotnet

Tất cả issue của firebase/firebase-admin-dotnet

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.