Receive CloudEvents on user creation and save data to Firestore.
The service relies on auth user data being published to PubSub - currently (May 2021) there is no support for Firebase auth triggers with Eventarc so we must use our the custom Firebase extensionpublish_new_user_data.
See Connect a Cloud Function & Dart server with Pub/Sub
- in
lib/functions.dartupdate PROJECT_ID and COLLECTION