You can add your CDN in the view and render it by the https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks
hi
The CDN feature is not available on the bundling system now.
https://github.com/abpframework/abp/issues/294
In your component.
hi
Can you try to add ConfigureApplicationCookie
below the AddJwtBearer
?
private void ConfigureAuthentication(IServiceCollection services, IConfiguration configuration)
{
services.AddAuthentication()
.AddJwtBearer(JwtBearerDefaults.AuthenticationScheme, options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "MyProjectName";
});
services.ConfigureApplicationCookie(options =>
{
// Forward any requests that start with /api to the JWT scheme.
options.ForwardDefaultSelector = ctx =>
{
//You can also check request info or current identity(ctx.User.Identity.AuthenticationType)
return ctx.Request.Path.StartsWithSegments("/api") ? JwtBearerDefaults.AuthenticationScheme : null;
};
});
}
You can only remove the modules that need to be disabled in the project.
hi
Application template do not need to generate controllers. Modules template require HttpAPI controllers.
hi
Can you explain it in details?
You're welcome.
I created an issue internally. It is not supported yet.