Setting users' own key in Firebase
问题 The question is asked already here, but since AngularFire updates their API, the provided solution is not usable anymore. What I am doing is to create new user's account with email/password, store that user in Firebase Authentication service, and store extra information in the database. However, in the Authentication, user has their key as simplelogin:29 , and in the Data, each user has their hashed key, as -JpwB9oUVkeT_XRdiX2V . I do need their keys to be the same. Below is the code to