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)
Hangfire
Hi
from my side it not works but I found this post and I remove
responseType: 'code',
After that my login on angular side work I dont redirect me to IDS login page.
The issue still exists on API if I try to login from swagger the app redirect me to base auth and not to tenant auth
Hi
I see the same and it works but redirect me to IDS page e not to my local login in angular why?