
Triggers
Pre-user Registration
pre-user-registration triggers runs when a user attempts to register through a Database or Passwordless connection. This trigger can be used to add metadata to the user profile before it is created or to deny a registration with custom logic.
References
- Event object: Provides contextual information about the request to register a new user.
- API object: Provides methods for changing the behavior of the flow.
Common use cases
Deny registration by location
Set metadata in the user profile
Store a user ID from another system in the user profile
Pour utiliser une bibliothèque
npm comme axios, vous devez ajouter la bibliothèque à l’Action en tant que dépendance. Pour en savoir plus, lisez la section « Ajouter une dépendance » dans Rédigez votre première action.Deny access to specific JA3/JA4 fingerprints
event.security_context object contains the JA3/JA4 fingerprint values for the current transaction.