Base solution for your next web application
Open Closed

ASP.NET CORE MVC&Jquery with ADFS Login Issue #6052


User avatar
0
vyungadmin created
 <appSettings>
        <add key="ExternalAuth.WsFederation.IsEnabled" value="false" />
        <add key="ExternalAuth.WsFederation.MetaDataAddress" value="https://vyungbiz1auth.vyung.com:446/FederationMetadata/2007-06/FederationMetadata.xml" />
        <add key="ExternalAuth.WsFederation.Wtrealm" value="http://localhost:62114/" />
  </appSettings>

I have added the adfs related configuration in the mvc web.config, but I can't jump to the ADFS login page at runtime, or the original login page. What configuration do I need to do?


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

    Hi @vyungadmin

    I think you have set ExternalAuth.WsFederation.IsEnabled to "true", right ? Becasue the setting you have shared is false.

    If you have done that, are you trying with a Tenant account ? External logins are only available in the tenant context.

  • User Avatar
    0
    vyungadmin created

    Hi ismcagdas :

    I have changed my settings below:
        "WsFederation": {
          "IsEnabled": "true",
          "MetaDataAddress": "https://vyungbiz1auth.vyung.com:446/FederationMetadata/2007-06/FederationMetadata.xml",
          "Wtrealm": "http://test.vyung.com:8000/"  
        }
        
    

    http://test.vyung.com:8000/ is my zero website addess

    When I click the WsFederation button, the page shows the 404 error

  • User Avatar
    0
    alper created
    Support Team

    we need to see your server logs. Check logs.txt for the real problem