Invite User

2026-04-20

Written by: Deepak

Goal of the New Invite Flow

  1. Instead of sending a Firebase login email, we will send a username and password to the user.

  2. We will introduce a firebaseInfo object in the Person collection to store Firebase authentication details:

  3. First-Time Username Creation:

  4. When a user logs in, they will enter their username and password.

  5. The system will use the entered username to find the corresponding person’s firebaseInfo.email from the database.

  6. The retrieved Firebase email and entered password will be used to authenticate the user through Firebase.

Todo work

  1. we have to implement a ui from where user can change/update their username.

  2. Work on forget password .