Hi
so we can't use Auth server per tenant? or we can't use auth per tenant with Swagger?
All 2 apps is develop with abp same version with angular auth page.
I prepare a use to see our landscape and send to support
Hi
I can prepare and account for sure, how can I share the login data?
If you write to me an email è reply with credentials.
Can you explain more details? The problem happen in swagger and in angular app but only from 1 app and not in both
Hi
nop the problem is very high.
Our second app read all logs from db.
We check on Postgres SQL and no tenant will be submitted on the query.
Ok
I try to check if this pattern can be use in our scenario
We found another issue.
If we try to execute the audit log from second app we see the host log. We check on DB and tenant filter not flow but if we do the same operation (same tenant) on first app we see only log for our tenant
No I've only one handler but it's in a module that I use twice.
Module product with handler ChangeProductHandler. I use this module on ERP and E-Commerce
I've 1 database anche 2 separate API/UI
Hi I know but I don't found any other solution
Hi
I found this possibile solution
.ConfigureWebHostDefaults(builder =>
{
builder.Configure(app =>
{
app.UseRouting();
app.UseHangfireDashboard();
app.UseEndpoints(endpoints =>
{
endpoints.MapHangfireDashboard();
});
});
})
How can I inject Iconfiguration?
public override async Task OnApplicationInitializationAsync(
ApplicationInitializationContext context)
{
await context.AddBackgroundWorkerAsync<PollingWorker>();
}
If I add an IServiceProvider I get this error
annot resolve parameter 'Microsoft.Extensions.DependencyInjection.IServiceCollection service' of constructor 'Void .ctor(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)