Multi tenant authentication
We have different native applications running in subdomain, and we want multi tenancy as well.
As per this link (
https://www.ory.sh/kratos/docs/guides/multi-tenancy-multitenant/) If we go ahead and create new instance of ORY Kratos for every tenant we can authenticate with tenants only if we know the tenant id (Tenant discovery is a problem). So, having dedicated instance of Kratos won’t work without solving tenant discovery. If we keep single Kratos for all customers and keep the tenant information outside authentication, Post login we can authorise the user to particular tenant with custom logic. But, When customer ask for integration with their private identity provider, We may do with custom OIDC provider(Kratos Social provider)
If that configuration become dynamic.