Set the user_id during Pre Registration Hook

Is there any way to impact the user_id that is created by the default connect? If I make an API call I can supply user_id and it will set it to the value specified. However, within pre and post hooks I cannot seem to impact the user.id value. Ultimately I need it in UUID format, not just the longid default format.

1 Like

I was thinking, one option for this would be to use a custom database that points to another Auth0 database with API calls. That way I can augment the behavior how I need but not have to worry about storage. This seems pretty hacky to me though…

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?