In firebase, I can create an account with email, phone number, etc. But, it was impossible to create an account only with ID and password. Is there any way to do it?
What I've tried to do it:
- Allow users to create an account with email -> ask ID of the user -> save the ID in firestore
disadvantage of this way: Hard (or maybe impossible) to set the rules of Firestore. So, I think that some hackers can read or change the data.
- Not using firebase auth: just save the ID and hashed password in database
disadvantage: In my case, I wasn't able to set rule of the database, so I am concerned about hackers changing data such as ID and password