import user mail&password(plain text) from CSV to firebase auth
and you need not to care about UID
- recommended: keyboard macro (so primitive! :-P)
after cloning this repo,
needed like this;
['[email protected]','password', ... ],
['[email protected]','password2', ... ]
(it don't matter where mail/password is)
vi foo.csv
# replace (depends on the csv)
#
# I assume CSV like this;
# [email protected],password, ...
# [email protected],password2, ...
#
:%s/,/','/g | :%s/\n/'],\r['/g
and add ['
on first and remove excess ['
on last
open index.html
and paste it
you must set mail/password index number where there are
open index.html
and paste your firebase snippet
$ npm install -g live-server # if you haven't already
$ live-server # open localhost:8080 in your browser
click the button on the page
you can import one user per click
if clicking too often, 'too-many-request' error occured
maybe about 15click / 10min is limit
- direct reading from CSV
- loop processing