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.
hi
Your access token is no problem. which means builder.SetAccessTokenLifetime(TimeSpan.FromHours(24));
works,
but still unauthorized after 1 hour
Can you share the logs for the unauthorized
error?
See https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems to enable debug logs.
Thanks.
hi
The CFData.Structure.Core
is used Sdk="Microsoft.NET.Sdk.Web"
as SDK.
It can not be used in a WASM project.
Can you try to remove this project from your CFData.Structure.Tenant.Licensing
project?
Or change CFData.Structure.Core
to using Sdk="Microsoft.NET.Sdk"
Thanks.