hoanghm / Proact

2 stars 0 forks source link

Create firebase admin tool for operations not available in web UI #62

Closed ogallagher closed 4 months ago

ogallagher commented 4 months ago
ogallagher commented 4 months ago

Delete example Firebase auth user apple@host.tld:

before

node firebase_admin.js
initialized log file at ./logs/templogger_2024-06-30_18-14-43.log
13.INFO: load firebase service account credentials
32.INFO: initialized firebase admin for [DEFAULT]
46.INFO: get user apple@host.tld
50.INFO: firebase auth user apple@host.tld uid=3kApin5n5SWDQFFnBKO6Za2ko9u2
52.INFO: delete user apple@host.tld=3kApin5n5SWDQFFnBKO6Za2ko9u2
55.INFO: user apple@host.tld deleted

after

node firebase_admin.js 
initialized log file at ./logs/templogger_2024-06-30_18-23-14.log
13.INFO: load firebase service account credentials
32.INFO: initialized firebase admin for [DEFAULT]
46.INFO: get user apple@host.tld
62.ERROR: Error: There is no user record corresponding to the provided identifier.