Last Updated: Dec 6, 2024
Overview
The Post-User Registration Event object document lists the ‘email’ and ‘username’ as optional properties. This article clarifies under what conditions the username/email is expected not to be included in the event object. This might be necessary so the Action code can accommodate those edge cases appropriately.
Applies To
- Post-User-Registration Action
- Event Object
Solution
Auth0 does not have an exhaustive list of situations where the username/email will not be present in a Post-User-Registration event object. However, one scenario where this could occur is if a user registers with an SMS Passwordless connection. In this situation, no email or username would be present in the event object during that Action execution.