capabilities.work

Create User, Add to Organization with Roles

A 3-step recipe with Auth0. We can help you get access.

Recipe · 3 steps

Create User, Add to Organization with Roles

with Auth0 · Identity & Access Management

Create a user, add them to an organization, and assign org-scoped roles.

  1. Create a new user in the supplied database connection.
  2. Add the new user as a member of the supplied organization.
  3. Assign the supplied role ids to the member within the context of the organization.
What you'll need to have ready
  • connection: Name of the database connection the user should be created in.
  • email: Email address for the new user.
  • password: Initial password for the new user.
  • orgId: Identifier of the existing organization to add the user to.
  • roles: List of role ids to assign to the member within the organization.
For your developer

Arazzo workflow auth0:create-user-add-to-org-with-roles, 3 operations: post_users → post_members → post_organization_member_roles. Specs on APIs.io.