AuthorizeattributeredirectstoLoginPathinsteadofAccessDeniedPath我对应用程序cookie有以下配置:123456services.ConfigureApplicationCookie(options=>{ options.LoginPath=$"/Identity/LogIn"; options.LogoutPath=$"/Identity/LogOut"; options.AccessDeniedPath=$"";});还有以下授权策略:12345services.AddAuthorization(options=>{ o
AuthorizeattributeredirectstoLoginPathinsteadofAccessDeniedPath我对应用程序cookie有以下配置:123456services.ConfigureApplicationCookie(options=>{ options.LoginPath=$"/Identity/LogIn"; options.LogoutPath=$"/Identity/LogOut"; options.AccessDeniedPath=$"";});还有以下授权策略:12345services.AddAuthorization(options=>{ o