Great news 👍
That's the purpose of the LazyServiceProvider.
Yes, The UseMultiTenancy needs to be added after UseAuthentication
I will check and fix it in Studio.
Thanks.
That's strange.
Can you share a project to reproduce it? you can use new template project.
Thanks.
hi
Do you have app.UseMultiTenancy(); in your http://localhost/api/identity/users? module?
Thanks.
hi
Can you add new info to the logs?
var currentTenant = httpContext.RequestServices.GetRequiredService<ICurrentTenant>();
logger.LogError("Current TenantId:" + currentTenant.Id + ",name: " + currentTenant.Name );
hi
Share the full request logs of when I request user data, I see Host-level data.
Thanks.
What is the output of the new middleware?
logger.LogError
ok, you can test your code in a new template project.
Thanks.