I just tested it and the user.id gets correctly transmitted from the hook.
@fredrogers Just to confirm: you are using the post-registration hook by enabling it under Dashboard > Hooks > Post User Registration right?
The problem may be isolated to webhooks generated by Auth0’s online testing environment.
Are you referring to a different (dev) tenant, or the webtask logs? Not sure what you mean with online “testing environment”. Note though that you cannot console.log anything from a post-registration webhook into the Realtime Webtask Logs, as it’s executed asynchronously, if this is what you mean.
Yes, the page in your image. Click the pencil, that’s the “online testing environment.” On the left you edit the content of the webhook, on the right you can “Run Test.”
As I stated, it does seem to work in production. But when I manually triggerred some webhooks for testing purposes (by clicking the blue “Run” button), they did not include user.id. I’m glad it works in production, that’s the main thing. Just made it difficult to get my API to work right.