自定义授权属性不允许在ASP.NET Core 3中进行授权
.Net核心应用程序通过IdentityServer进行身份验证。我在没有https的情况下工作。
我创建了自定义授权属性,但是不允许授权。而且我无法抓住问题。
日志:
dbug: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler[8]
AuthenticationScheme: Cookies was successfully authenticated.
Microsoft.AspNetCore.A...