Hey @Nick Osman, I think the confusion lies in that we don’t assign applications to Tenants, but rather SSO connections are associated with Tenants, but there are a few ways you can associate a particular user with a particular tenant:
• This can be done automatically using the domain name of the email address (e.g. @descope.com email addresses -> assigned to Descope tenant)
• This can be done within the Flow itself (e.g. an appId or tenantId parameter is passed into the flow and a user can be assigned to a tenant that way, or by querying an application database, etc. a lot of flexibility here)
Further, we do support tenant specific claims in tokens. You’ll notice in the dashboard roles can be defined both in the project level and at a tenant level, so that tenant level context you’re looking for should be preserved in Descope.