Self-service registration lambda called during profile edits?
-
Does the self-service registration lambda get called when a user updates their profile in the user self-service account management pages?
-
Unfortunately, this lambda will only fire on user registration or complete registration event, not on account page updates.
If you are looking to control how a user can update their profile, another option would be to use our events and webhooks (making them transactional -
All webhooks must succeed
) to do additional data processing to determine if a user update can succeed.See the list of events here: https://fusionauth.io/docs/v1/tech/events-webhooks/events/
user.update
oruser.registration.update
might be good events to use. -