Introduction

There are two ways in a flow to assign a user to a tenant. There are key differences between them to allow different expected behaviours, depending on the use case.

Using the 'Update User / Add Tenant' action.

This action updates the user's tenant based on the tenant's email domain.


update user action

To ensure this works, set the email domain on the tenant level.


update user action

Using the 'User / Invite' action.

This action will add the invitee to tenants based on the inviter's tenants.


invite user action

This action allows you to invite a user using a connector, as well as controlling the email template that is being sent and the URL the invitee will receive in that message. This action also allows you to chose the Application that will be used to sign-in/up the invitee. Moreover, this allows you to control the roles the invitee will aquire during while accepting the invite. For more details on the user invite flows, see this guide.


If you have any other questions about Descope, feel reach to reach out to us!