Implementing multi-tenancy with multiple-connections

Hi @AdallomRoy,

one main question here is: can the user potentially be part of multiple tenants or not? If he can be part of multiple tenants, and you only want to give the user one account / set of credentials, for all tenants he has access to (SSO so to speak), then you can refer to one of the approaches mentioned here:

When a user wants to login into my product, I ask him for a tenant name (e.g. acme).

Do you ask this within your application, before doing the authorization request to Auth0? Are you asking this in the form of a text input field (like in the Slack example provided in the link above?)

If so, note that you can pass this information to Auth0 as a parameter in the authorization request. Search for upstream_param or extraParams here in the forum and you’ll find examples.