Organization/Users invitations

Hi guys.
What we need to do:
We have Admin of Organization_1, who can invite his own employees (with different roles) from the app. Moreover, he can create (by inviting the app Admin of Organization_2 )from the app, and this admin (org2) can also invite his employees with different roles.

The problem is that we don’t understand how to do that by using Auth0.

Hi @vugar.dzhafarov

Thank you for your post and sorry for the late reply.

You are able to achieve all of this by using Organizations in Auth0. Firstly you’ll have to define the roles within your organization, such as the admin one, feature that can managed from the Auth0 Dashboard, while you can also do that with the Management Api. You can follow this documentation on how to assign roles within an Organization.

You can also send an invitation by email using the Dashboard from the Invitations tab within your organization specifying the admin role for the Organization1, for which you can enable permissions such as Read and Create Users or any other member roles.

Users can be members of multiple Organizations, so specific roles can be assigned by making a POST request to /api/v2/organizations/{id}/members/{user_id}/roles using the Management API, as described in our documentation.

I hope this helped,
Remus

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.