Get Organization information in Post User Registration Flow

Hello folks, I have a standard invitation flow where I send an invite to a user for a specific organization. Once the user accepts and registers, the post registration flow triggers. I can’t seem to find any parameter that tells me to what organization the user registered to. Is there a way I can get the organization ID back from the event parameter?

It is important, for SaaS applications to know, for instance, when I create a user in another system such as a helpdesk, crm, etc. to what organization (client) they belong to so that I can map accordingly on the satellite, third party system as well.

Hi @hsoto ,

Welcome to the Auth0 Community!

Please try the GET /api/v2/users/{id}/organizations endpoint to get the organization that the user registered.

Hope this helps!

1 Like

This topic was automatically closed after 11 days. New replies are no longer allowed.