该问题通常是由于未正确配置授权所导致的。解决方法如下:
services.AddAuthorizationCore();
builder.Services.AddAuthorizationCore();
builder.Services.AddScoped
You are not authorized to access this resource. Sorry, there's nothing at this address.
上一篇:BlazorWebAssembly使用HttpClient访问开启Windows身份验证的WebAPI
下一篇:BlazorWebAssemblySignalRHubConnection在重新加载时引发Javascript错误。