Hello,
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.
Thanks V
4 Answer(s)
-
0
Hi @mhdevelop
Do you use Angular or JQuery version ?
-
0
We are using Asp.net core mvc with JQuery and netzero 8.3.1
-
0
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.
-
0
Thanks that helps