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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -