One user is removed from database when the debugger hits a breakpoint.
Hello! :D I have very weird problem. One user is removed from my database when the debugger hits a breakpoint.
- Operating System version: Windows 11
- Firebase SDK version: 5.4.0 and 4.5.2
- Firebase Product: auth
- Python version: 3.8.12
- Pycharm version: 2021.2.3 Professional Edition Build 212.5457.59
- Pip version: 21.3.1
https://drive.google.com/file/d/1Pn4vHd_87C5pweNzh8JvYKkoNvagiNz4/view?usp=sharing
Relevant Code:
import firebase_admin
from firebase_admin import auth
firebase_admin.initialize_app()
if __name__ == '__main__':
users_claims = {x.uid: x.custom_claims for x in auth.list_users().iterate_all().items}
for user_id, claims in users_claims.items():
print(user_id)
print('BP')
print([x.uid for x in auth.list_users().iterate_all().items])
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @mastah7991, thank you for filing this issue. Are you testing this on a production project or on the emulator? Just to double check, could you confirm that the user records are also removed from your project (on the console or on the emulator UI) when this happens? Thanks.
It happened on a production project. I can confirm that my account has been removed from our development environment. our plan: Blaze
I can record another video tomorrow to show it
https://drive.google.com/file/d/10WYk855n39mzoHcIS1QQKns0XnI69Cdt/view?usp=sharing