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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -