c# - Problems with Identity Server 3 -


we having bit of trouble putting identity server 3 our applications.

currently have webapi nhibernate connect our oracle databases. use angularjs on our front-end, , call controller methods ajax. old coleague, used identity server on 1 of applications made, but, configured identity server windows credentials (since we're in corporate ad), we're making external website, have login , password, , use identity server our authentication , autorization.

i have looked examples on github , other articles(like this one), wasn't able connect is3 authenticate, give me 403.14 error.

building , running gives no error, can't seem access identity server 3.

here's startup

public void configuration(iappbuilder app) {     try     {         app.map("/identity", idsrvapp =>         {             idsrvapp.useidentityserver(new identityserveroptions             {                 sitename = "identity server",                 enablewelcomepage = false,                 requiressl = false,                 issueruri = string.format("{0}", configurationmanager.appsettings["idserverendpoint"]),                 signingcertificate = certificate.load(),                 factory = factory.configure("myconstr")             });         });     }     catch (system.exception ex)     {         logcore.logerror(ex);     } }  

add identityserveroptions.

loggingoptions = new loggingoptions {   enablewebapidiagnostics = true,   webapidiagnosticsisverbose = true,   enablehttplogging = true,   enablekatanalogging = true } 

you should see mud-glorious amount of valuable debugging information. tells me i've done wrong. if not seeing logging coming output, check out https://identityserver.github.io/documentation/docsv2/configuration/logging.html


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -