I want to store a custom ID as User UID in Firebase Authentication. Can you do that? Based on my searches it seems I would need to use Firebase Realtime Database to store this extra ID, but I want to avoid another product and just have everything in Firebase Authentication (I just need to store this 3rd party ID somewhere).
My use case is as follows:
User registers with email/password OR Google Sign-in (using Firebase Authentication)
mAuth.createUserWithEmailAndPassword(email, password) mAuth.signInWithCredential(credential) // or Google Sign-In, cretaes a new account if not existing
User enters phone number and verifies it (using firebase Authentication)
If all good, automatically the user is registered with our 3rd party partner's backend server, which sends back user's UID (they generate it and I have to store it). It looks like
77a644e1-9322-4291-854e-5dabb59cc296b.I want to store this generated user ID to Firebase Authentication user.
