firebase / firebase/firebase-admin-python

Unable to remove email from userRecord

未關閉
#678 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
api: auth
主要語言
Python
星號
1.2k
分支
359
平均合併
5 天 6 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。