Base solution for your next web application
Open Closed

ASP.NET Core & JQuery #4974


User avatar
0
VuCA created

Dear AspNet zero,

I want to update my project to ASP.NET Core & JQuery but this version doesn't support ADFS login.

Please tell me do you have plan to support that? or Can you give me some help to step by step working with ADFS.

Thanks in advance!


7 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    Hi,

    It's already implemented. Update your ABP packages to the latest.

    And uncomment the below line in AbpZeroTemplateCoreModule.cs

    //Configuration.Modules.ZeroLdap().Enable(typeof(AppLdapAuthenticationSource));
    

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/AbpZeroTemplateCoreModule.cs#L71">https://github.com/aspnetzero/aspnet-ze ... ule.cs#L71</a>

  • User Avatar
    0
    VuCA created

    <cite>alper: </cite> Hi,

    It's already implemented. Update your ABP packages to the latest.

    And uncomment the below line in AbpZeroTemplateCoreModule.cs

    //Configuration.Modules.ZeroLdap().Enable(typeof(AppLdapAuthenticationSource));
    

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/AbpZeroTemplateCoreModule.cs#L71">https://github.com/aspnetzero/aspnet-ze ... ule.cs#L71</a>

    Dear alper,

    This is LDAP login support, I ask about ADFS login, it's diffirent! AspNet Zero have plan to do that? Or can give me some step to integration with ADFS.

    Thanks!

  • User Avatar
    0
    alper created
    Support Team

    Do you mean this <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/security/authentication/ws-federation">https://docs.microsoft.com/en-us/aspnet ... federation</a>

  • User Avatar
    0
    VuCA created

    <cite>alper: </cite> Do you mean this <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/security/authentication/ws-federation">https://docs.microsoft.com/en-us/aspnet ... federation</a>

    Dear alper,

    That's right alper. In the ASP.NET MVC 5.x version, it already support. All we need is configuration in web.config file like bellow:

    <add key="ExternalAuth.WsFederation.IsEnabled" value="true" /> <add key="ExternalAuth.WsFederation.MetaDataAddress" value="https://xxx/federationmetadata/2007-06/federationmetadata.xml" /> <add key="ExternalAuth.WsFederation.Wtrealm" value="https://localhost:44303/" />

    You can check the different in here <a class="postlink" href="https://aspnetzero.com/Documents/Version-Differences">https://aspnetzero.com/Documents/Version-Differences</a>

    Thanks!

  • User Avatar
    0
    bbakermmc created

    They didnt support it because it wasnt available initially. There is no reason they cant support it now, its been 2.0 for a couple of months.

    <a class="postlink" href="https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.WsFederation">https://www.nuget.org/packages/Microsof ... Federation</a>

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/307">https://github.com/aspnetzero/aspnet-ze ... issues/307</a>

    You can track above, I bumped the post for you.

  • User Avatar
    0
    VuCA created

    <cite>BBakerMMC: </cite> They didnt support it because it wasnt available initially. There is no reason they cant support it now, its been 2.0 for a couple of months.

    <a class="postlink" href="https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.WsFederation">https://www.nuget.org/packages/Microsof ... Federation</a>

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/307">https://github.com/aspnetzero/aspnet-ze ... issues/307</a>

    You can track above, I bumped the post for you.

    Thanks BBakerMMC,

    Dear Asp.net zero support,

    Please implement this in ASP.Net core & JQuery project as soon as possible. Thanks!

  • User Avatar
    0
    alper created
    Support Team

    Hi,

    It's included in the next milestone. See <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/307">https://github.com/aspnetzero/aspnet-ze ... issues/307</a>