Code Monkey home page Code Monkey logo

Comments (6)

Ehesp avatar Ehesp commented on June 27, 2024 4

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:

  1. Auth user create: Updates Mailchimp + creates a record in a collection, with an email.
  2. 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.

Ehesp avatar Ehesp commented on June 27, 2024

Currently the function only runs on user create, rather than an update. Will have to check whether this is possible via triggers.

from extensions.

Ehesp avatar Ehesp commented on June 27, 2024

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.

kristijandraca avatar kristijandraca commented on June 27, 2024

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.

rphlmr avatar rphlmr commented on June 27, 2024

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.

karayu avatar karayu commented on June 27, 2024

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)

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.