firebase / firebase/firebase-admin-python

Unable to remove email from userRecord

Offen
#678 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
api: auth
Vorherrschende Sprache
Python
Sterne
1.2k
Forks
359
Ø Merge
5 T. 6 Min.
Gemergte PRs (30 T.)
2

Beschreibung

* Operating System version: Ubuntu 22.04
* Firebase SDK version: (admin-sdk) 6.0.1
* Firebase Product: auth
* Python version: 3.10.6
* Pip version: 22.3.1

unable to remove the email from userRecord using update_user
auth.update_user("xyz", providers_to_delete=['password', 'google.com', 'apple.com', 'facebook.com'])
It only removes the provider data and does not remove the email.

But using the above method, phone number can be removed. It removes both provider and the phone_number as well
auth.update_user("xyz", providers_to_delete=['phone'])

Is there no other way to remove/delete email from a userRecord?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.