** **Thanks!
We have added that code with Radzen 2.14.2. You have to leave only this:
partial void OnConfigureServices(IServiceCollection services)
{
var policy = new AuthorizationPolicyBuilder()
{
AuthenticationSchemes = new[] { "Bearer" }
}
.RequireAuthenticatedUser()
.Build();
services.AddMvc(options =>
{
options.Filters.Add(new AuthorizeFilter(policy));
});
}
Done. Working fine! Thanks.