Feature: Need access to org_id and user_id on pre or post user registration to run an external one time only task.
Description: I have a tenant with multiple organizations. When the user accepts the invitation an external task needs to be run. The problem is I need to know the org_id
and user_id
to complete the external task during either a pre or post user registration flow.
Use-case: When a user is invited to join an organization and they are not have a tenant user, we pre-register data. Once the user accepts the invitation and a tenant user is created and the member is added to the organization we take the pre-registered data and associate it with the auth0 user_id.