Is is possible to enable external authentication by Tenant?
For example:
- Host = Abp authentication
- Tenant 1 = Abp authentication
- Tenant 2 = LDAP authentication only
- Tenant 3 = Mixed authentication (AD + Abp)
2 Answer(s)
-
0
Hi,
Ldap is actually designed for single tenant apps in AspNet Zero template, so what you are asking is not possible by default. You can do it but it requires some changes.
You can add two feature to your application, lets call them "AbpLoginFeature" and "LdapLoginFeature" and you need to act according to those feature values of a tenant in the Login action of Account controller.
You also need to configure Ldap settings (AD server address, username and password etc..) for the tenants who has "LdapLoginFeature" enabled.
If you want to try this, we can always help you if you have any problems.
-
0
Thanks for the reply, this is what I was expecting.
Thanks also for the pointer on using Tenant Features to apply this functionality.