Skip to content

Unable to remove email from userRecord #678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chaitanya4288 opened this issue Mar 3, 2023 · 1 comment
Open

Unable to remove email from userRecord #678

chaitanya4288 opened this issue Mar 3, 2023 · 1 comment

Comments

@chaitanya4288
Copy link

  • 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?

@Adeline09
Copy link

Hi I want to work on this issue. Could you assign it to me pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants