Is Ther A Way To Set User Input As Name For 2nd Level Node In Firebase
I have an html form which sends user data to firebase db and currently looks like the image below. If I use push method to save user data the garbled unique ID is generated and if
Solution 1:
I don't think it's a good idea to use the email address as a key, especially since it is possible to merge accounts if the user created more than one with the same email address.
Use that garbled key as you call it. That's why it is there for you. Under that you have your properties email, displayName, etc.
Post a Comment for "Is Ther A Way To Set User Input As Name For 2nd Level Node In Firebase"