Open jasonchester opened 4 years ago
Hi @jasonchester
I'm glad you figured out a working solution. I'm not sure if you saw it but the "SharedLoginSample" project does something similar. I agree this would be a good enhancement. Maybe something like "Tenant Aliases". I've pinned it to keep the issue from auto-closing.
Thanks for the suggestion!
I would also like this feature. You can image a scenario like using hosting strategy
.WithHostStrategy("__tenant__")
and wanting to have the TenantId being the same for: clientName.MySaaSAppDomain.com clientName.com
Having the ability to have multiple identifiers point to the same tenantid out of the box would be very nice.
We have a mobile application which needs to retrieve tenant information in order to present the correct login experience.
The requirement from the business is to let the user supply their email address which will be compared against a list of email domains for a specific tenant. in order to achieve this I would like to be able to specify multiple identifiers which would map to a tenant.
It wasn't too hard with a custom configuration store with an updated method but this seems like a common enough scenario that it would be nice if it was supported by the framework.