Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB function to Create New User #157

Open
doub1ejack opened this issue Nov 2, 2019 · 1 comment
Open

FB function to Create New User #157

doub1ejack opened this issue Nov 2, 2019 · 1 comment
Assignees
Labels
auth Related to user authentication/login/etc firebase

Comments

@doub1ejack
Copy link
Member

doub1ejack commented Nov 2, 2019

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.)

@doub1ejack doub1ejack added auth Related to user authentication/login/etc firebase labels Nov 2, 2019
@iritush iritush self-assigned this Dec 16, 2019
@doub1ejack
Copy link
Member Author

I made a draft PR that creates a new user in firebase with a provided email: #183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Related to user authentication/login/etc firebase
Projects
None yet
Development

No branches or pull requests

2 participants