-
Notifications
You must be signed in to change notification settings - Fork 378
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
FR: Improve auth.createUser to support importing users from a different service #158
Comments
Similar functionality is on our list of features to support. Stay tuned. |
@bojeil-google Any news ? For now we are using |
It's in the pipeline. A few things came up like refresh token revocation which was higher priority for security reasons. |
Hey folks, this was released yesterday: |
After migrating our app from Heroku to a fully hosted Firebase application, we need to migrate our users database and login capabilities to this new Firebase app.
However, we want our migration to be incremental, since our DB contains 400000+ users.
We have been successfully testing this approach manually with
firebase-tools
'sauth:import
command. However, since our migration process is meant to be totally automated and executed in a cloud function of our app,firebase-tools
cannot be used.The better way for us to achieve this would be to improve the admin SDK
auth.createUser()
method, or alternatively add anauth.importUser()
method, to support creating an user with the same set of informations than theauth:import
command, especially the ability to pass the user's password hash instead of the unencrypted password and a prior creation date.Ideally, this method would also allow passing the user's login providers, though this can be achieved later using the Node Firebase SDK for now.
The text was updated successfully, but these errors were encountered: