Open rguan72 opened 4 years ago
Will be done by @shijurodhaz and I when integrating
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
Instead of storing user data like
color
andusername
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