Relative Content

Tag Archive for firebasegoogle-cloud-platformfirebase-authentication

Firebase User Creation with external SMS provider

Is there a way in firebase to create a user with just phone number only? Not using firebase phone auth or createUserWithEmailAndPassword since i would like to only user mobile number to verify otp during signup and create a new user.

Firebase: maintain user lookup table in GCP

I created my first web app using Firebase and implemented user auth using FirebaseUI. In my Firebase console, I can see the Users table in the Authentication tab being created with a unique Identifier (phone number, e-mail). My Firebase project is also connected to my GCP project.

How can I recreate my Firebase Authentication users with different UIDs?

I have an application that handles authentication with the firebase-authentication service. Due to some recent changes in business logic, I need to start storing my users in a Mongo database as well. So, I must migrate the users to my Mongo database but in addition, I need them in Firebase to have the UID corresponding to the one generated by Mongo. Since I can’t change the firebase UID (if I’m wrong please correct me), my plan was something like this:
-Get all registered users in firebase
-Create these users with the additional information in mongo
-For each user created in Mongo, also create it in Firebase, using the Mongo ID as the UID.
-Delete old firebase users