Ultimately we will combine this function with another function that parses the cvoeo csv. But for now, we can multi-track this work by creating a simple function that takes user information and creates a new firebase account.
Note that we are only initializing an account for a user to register against later. This means we can generate a random password that will never be used. (When a user "registers", they are essentially just using the forgot-password behavior to set the password on their preexisting account to something they know.)
Ultimately we will combine this function with another function that parses the cvoeo csv. But for now, we can multi-track this work by creating a simple function that takes user information and creates a new firebase account.
We can use the fb.auth api createuserwithemailandpassword to create the user.
Note that we are only initializing an account for a user to register against later. This means we can generate a random password that will never be used. (When a user "registers", they are essentially just using the forgot-password behavior to set the password on their preexisting account to something they know.)