Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow default provider config for tenants

Aperta
#644 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@prameshj ci sta già lavorando.

Dal 18/10/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
1.2k
Fork
359
Merge medio
3g 9h
PR unite (30g)
3

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firebase/firebase-admin-python

Tutte le issue di firebase/firebase-admin-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.