We are building intranet application which we need to implemEnt ad authentication for employees and forms authentication for temporary users. How can I achieve this with asp.net zero. based on username let us say employees use email Id and teMPorary employees use non email ad, hoe do I authenticate both? One with DB and other with AD.
In the LoginManager of your project, you can override this method https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.ZeroCore/Authorization/AbpLoginManager.cs#L129 and try to login from external source if the email address is used. If not, you can try to login from AbpUsers table.