Auth0 Home Blog Docs

Hook not running when user is created using Management API

hooks

#1

Hello,

We are currently exploring the use of hooks to add more complex sign up scenario’s by attaching extra user and app meta data to the user profile during registration.

However we noticed that when a user is created user the Auth0 Management API (we use auth0 npm module for this in the backend) that even though the user is created for a database connection none of our hooks are running. They do however run when we sigh up the user through our SPA or when we create them manually in the Auth0 Dashboard.

Is this a bug or expected behavior? and if this is expected are there any plans on making sure Hooks will run even when you create them with the Management API?

Regards,
Rutger