Add Tenant To user
There are two ways in a flow to assign a user to a tenant.
There are key differences between them to allow different expected behaviors, 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.
To ensure this works, set the email domain on the tenant level.
Using the 'User / Invite' action.
This action will add the invitee to tenants based on the inviter's tenants.
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 acquire 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!