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
Post a Comment