Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow default provider config for tenants

Open
#644 2 comments 0 reactions 1 assignee View on GitHub

@prameshj is already working on this.

Since Oct 18, 2022.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
3d 9h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-python

All issues in firebase/firebase-admin-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.