hi
I think you can only custom the CLI code and build a new CLI(named: myabp)
hi
You forgot the virtual.
[UnitOfWork]
public virtual async Task HandleEventAsync(AccessRequestApprovedEto eventData)
Good news.
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.