Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Allow default provider config for tenants

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

@prameshj đang làm issue này rồi.

Từ ngày 18/10/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

api: auth

I am using the python admin SDK to create tenants, but I can not manage the "default" providers. Only add new SAML and OIDC providers.

            tenant = tenant_mgt.create_tenant(
                tenant_name,
                allow_password_sign_up=True,
                enable_email_link_sign_in=False,
                app=app,
            )
            
          auth = tenant_mgt.auth_for_tenant(tenant.tenant_id)
          
          # No way to do this ???
          providers = auth.get_providers()
          # enable/setup Google provider

Now I have to go in the UI and click a button. Which defeats the purposes of creating the tenant programmatically if I still have to set it up by hand.

This is what I am trying to change:
Screen Shot 2022-09-16 at 5 20 02 PM

EDIT:
You can set allow_password_sign_up=True and it will enable Email/Password, but unsure how to handle the other Providers. We use the Google Provider as an internal app for our own login as we are on Google Workspace.

Ngôn ngữ chính
Python
Star
1.2k
Fork
359
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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-python

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

Issue tương tự

Thêm issue về Python

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.