Base solution for your next web application
Open Closed

Enable Windows Authentication (direct login) on .netCore/Angular v12.4 #11781


User avatar
0
AhmedElseadawy created

Dears,

I spent much time to look for clear guideline or article on how to apply windows authentication (Active Directly on premises ) on the ASPNET Zero template .netCore/Angular v12.4, appreciate your quickly support to refer to complete and clear guidelines or to share ready sample we can rely on it.

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

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

    Hi @AhmedElseadawy

    If you mean LDAP, you can enable it on settings page, see https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Active-Directory

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

    I did this configuration , but I feel nothing happen still the login with the same old behavior , even the expected to have auto login though windows authentication , please clarify more how can I apply windows authentication

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

    Hi @AhmedElseadawy

    In current design, if user fills the credentials and clicks login button (and when LDAP is enabled), https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Ldap/Ldap/Authentication/LdapAuthenticationSource.cs must be executed. If you are not sure about this, you can create a similar class and inherit from LdapAuthenticationSource and see if it is called by debugging the source code.

    If you want user to automaticall login without even seeing the Login page, it is not supported out of the box.

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