rguan72 / kare

https://www.helpnow.me/
0 stars 1 forks source link

Store user data in user profile #39

Open rguan72 opened 4 years ago

rguan72 commented 4 years ago

Instead of storing user data like color and username in cloud firestore, we should buy into firebase auth and store this data in user profiles (will be more secure & will help with caching): https://firebase.google.com/docs/auth/web/manage-users

rguan72 commented 4 years ago

Will be done by @shijurodhaz and I when integrating

rguan72 commented 4 years ago

Actually turns out we need an authUser and dbUser and we connect these entries together with authUser.id https://firebase.google.com/docs/firestore/manage-data/add-data