[CATALOG] Refactor user creation
Opened this issue · 0 comments
joshr4 commented
Current flow:
- On new user signup, a Client app creates a new Firebase user
- This user's
uid
is the saved to the catalog db via the user create route, POST to/accounts
- The Client app queries catalog for the user details
New flow:
- On new user signup, a Client app creates a new Firebase user
- The Client app queries catalog for the user details, if the user is not found, catalog creates a new user with the
uid
embedded in the request auth token.