Post registration hook is not getting called from users registered through custom database script

To migrate users from one tenant to another, we wrote a custom database script, which runs on user login and check in the old tenant if user exists. If it does it migrates user to new tenant with same auth0Id and password.
As per the definition of post registration hook, when user is registered to the new tenant, post registration hook should be triggered which is not happneing.
Can somebody explain me if this is the intended behaviour or an issue. Because If I get this working it would solve a big problem for me.
Thanks in advane

1 Like

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?

1 Like