Git Product home page Git Product logo

firebase-extensions's Introduction

Firebase Extensions by Rowy Team ๐Ÿ’œ

This is a collection of Firebase Extensions built by the Rowy team, designed to help you build your app faster.

๐Ÿ“ Firestore User Document

The Firestore User Document extension allows you to automatically create a document in a Firestore collection of your choice whenever a new user is created in Firebase Authentication. You can also specify the user fields that you want to populate the document with, such as email, display name, image URL, etc.

Optionally, this extension can be configured to delete the user's document when the user is deleted from Firebase Authentication. Furthermore, the extension can be set to backfill existing users and create documents for all of them.

๐Ÿ‘€ Documentation

install-extension

๐Ÿ™ Acknowledgements

Sandrina for the awesome extension icon.

firebase-extensions's People

Contributors

eugv86 avatar harinij avatar shamsmosowi avatar yamankatby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

eugv86 yamankatby

firebase-extensions's Issues

bug: backfill function didn't work when testing in production

Hi there, i'm doing some testing on behalf of firebase, and i'm not sure backfill is working correctly.

Steps to repro:

  • i created a user in Firebase Authentication
  • i installed the extension as per usual
  • no user docs were created (even allowing time for tasks to be queued etc)

I saw no tasks enter the queue, if that helps.

Support additional custom fields

This is a list of currently supported fields added to the user.

  • uid
  • email
  • emailVerified
  • displayName
  • photoURL
  • phoneNumber
  • disabled
  • creationTime

For my use case I need to add a "role". A tutorial for how to do this (and how to setup default values) would be awesome!

Firestore User Document - Error installing extension. Be aware that a parameter misconfiguration might have caused some extension resources

Error installing extension. Be aware that a parameter misconfiguration might have caused some extension resources to not successfully deploy.
View details
Use the details below to help resolve this error, then retry installing the extension. If you continue to get this error, we recommend uninstalling the extension to remove any extension resources that might be deployed.

; RESOURCE_ERROR at /deployments/firebase-ext-firestore-user-document/resources/backfillExistingUsers: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: npm ERR! Cannot read property 'firebase-admin' of undefined\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2023-05-17T12_36_15_593Z-debug.log; Error ID: beaf8772"}

Error installing extension!

Hi I got the following error installing the extension

RESOURCE_ERROR at /deployments/firebase-ext-firestore-user-document/resources/backfillExistingUsers: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: npm ERR! Cannot read property 'firebase-admin' of undefined\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2024-01-25T17_13_15_461Z-debug.log; Error ID: beaf8772"}

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.