hi
Your project only has the AddJwtBearer
Please refer the code from https://abp.io/support/questions/5167/Hangfire-Authorization-Problem#answer-3a0b888e-b47a-d13d-c030-80ce3f046997
private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration)
{
context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = configuration.GetValue("AuthServer:RequireHttpsMetadata");
options.Audience = "HangfireAuthTest";
});
context.Services.Configure(options =>
{
options.IsDynamicClaimsEnabled = true;
});
}
hi
Please share full code of your module.
Thanks
hi
What are code about AddAuthencation
?
hi
But what about the Dashboard Authorization?
Please share your module code that contains the UseAbpHangfireDashboard
hi
Please remove the __tenant
from cookies.
Cookie: .AspNetCore.Culture=c%3Dtr%7Cuic%3Dtr; __tenant=39f7b3e6-b1a7-61af-ec9f-cc85613d2ec4
hi
Do you have the configuration below in your Blazor client project?
https://abp.io/docs/latest/modules/chat#blazor-webassembly-ui
Configure<ChatBlazorWebAssemblyOptions>(options =>
{
options.SignalrUrl = builder.Configuration["RemoteServices:Chat:BaseUrl"];
});
hi
Your PreContribute
has a problem please debug your app to see which variable is null
[WRN] Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at HQSOFT.eBiz.CoreBackend.AuditLogging.ExtendedAuditLogContributor.PreContribute(AuditLogContributionContext context)
at Volo.Abp.Auditing.AuditingHelper.ExecutePreContributors(AuditLogInfo auditLogInfo)
public override void PreContribute(AuditLogContributionContext context)
{
var urlProp = context.AuditInfo.GetProperty("ScreenUrl");
var url = context.GetHttpContext().Request.Headers["screen-url"].ToString();
if (urlProp != null && string.IsNullOrEmpty(url))
context.AuditInfo.SetProperty("ScreenUrl", url);
}
hi
You can use Gmail or onedrive or https://wetransfer.com/
hi
Can you share a project that I can test?
liming.ma@volosoft.com