c# - Migrating core 1.1 to 2.0 UseIdentityServerAuthentication not available -


when migrate code core 1.1 2.0, missed function of useidentityserverauthentication in identityserver4

if (env.isproduction())  {  app.useidentityserverauthentication(new identityserverauthenticationoptions { authority = "http://angularspawebapi.azurewebsites.net",  allowedscopes = { "webapi" },  requirehttpsmetadata = false });  } else  {  app.useidentityserverauthentication(new identityserverauthenticationoptions { authority = "http://localhost:5000/",  allowedscopes = { "webapi" },  requirehttpsmetadata = false });   } 


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -