Base solution for your next web application
Open Closed

Create AD and forms login #8712


User avatar
0
mhdevelop created

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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mhdevelop

    Do you use Angular or JQuery version ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    mhdevelop created

    We are using Asp.net core mvc with JQuery and netzero 8.3.1

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    mhdevelop created

    Thanks that helps

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)