Comments (6)
Let me bring this one up with the team. Generally it would be a totally different extension if it triggered on collection change. Here's something which may work:
- Auth user create: Updates Mailchimp + creates a record in a collection, with an email.
- If a users email changes (via manual update on the users part), this automatically removes the email and updates Mailchimp with the new one.
This does however totally change the flow so it'll need some discussion. Thanks!
cc @karayu
from extensions.
Currently the function only runs on user create, rather than an update. Will have to check whether this is possible via triggers.
from extensions.
Unfortunately this isn't possible at the moment, as the UserBuilder
for functions only provides onCreate
and onDelete
handlers: https://firebase.google.com/docs/reference/functions/functions.auth.UserBuilder
from extensions.
Ok, but this leaves this plugin pretty much unusable since it won't update email on linking credential, and another big situation, is when the user decides to change his email.
from extensions.
In case we store user profiles in a collection (name, mail, uid), is it possible to imagine an option for the "update" trigger of this extension ?
from extensions.
Thanks so much for the feature request! It sounds like this would need to be a new extension.
Do you mind filing a feature request for this so we can track it?
https://firebase.google.com/support/troubleshooter/report/features/
I'm closing this issue for now since it's unfortunately not a change to the current extension.
from extensions.
Related Issues (20)
- [Translate Text in Firestore] Translating field with an array of strings does not work on add document but on update. HOT 4
- π [fs-bq-import-collection] Documents Aren't Passing Between Projects
- 0ef0b1053b46b317dcf367cd007aedfb075b856f
- beta δ½δΈδΊΊθΏ· txt
- π firestore-bigquery-export Unhandled error ApiError: Cannot parse response as JSON: HOT 1
- π [Stream Firestore to BigQuery] Update cloud function extension to gen 2 HOT 3
- [*] Improve regex validation across extensions
- π [firestore-send-email] From september OAuth will be required in the Google Workspace
- π [storage-resize-images] Override sharp output parameters with customized image metadata
- MacroDroid Log HOT 1
- [firestore-bigquery-export]: Wrong value in description for maximum dispatches per second.
- π [firestore-bigquery-export] schema-views script doesn't work against multiple schema files
- Typo in `README.md` for `storage-resize-images` extension
- π [firestore-bigquery-export] multi-db selection isn't working for Firestore triggers HOT 1
- time partition not working for firebase extension(0.1.49) HOT 4
- π [Stream Firestore to BigQuery] fs-bq-import-collection doesn't recognize partitioned field HOT 1
- π [Stream Firestore to BigQuery] Need to disable or enable delete history streaming
- π [Stream-Firestore-BigQuery] Import existing Firestore documents into BigQuery HOT 2
- π [firestore-send-email] Email status SUCCESS but not delivered
- [firestore-translate-text] Source text is translated from Latin and not English HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extensions.