Skip to content

API for inviting a user to an organization

Proposal

We need an API to invite a user to an organization. This API should accept an email and then send out an invite email. If the email is not available it should return a validation error. For designs see &13471.

We will need to update the user creation flow to accept an invite token and add the user to the corresponding organization. This can be completed in #455125.

Implementation guide

The problem here is that we need to check that the invited user doesn't exist on the other cell. This means we're depending on the topology service. We could implement some of this first given there's only one cell in operation, and then worry about the uniqueness later.

Integration with the topology service will be handled in #460218.

Edited by Christina Lohr