hi
You can add a tenant policy. and use it in your pages
eg: https://github.com/abpframework/abp/pull/10152#issue-1007619207
options.AddPolicy("MyClaimTestPolicy", policy =>
{
policy.RequireAuthenticatedUser().RequireAssertion(handlerContext =>
{
var tenantId = handlerContext.User.FindTenantId();
return false; // false to skip
});
});
Hi
Please search for the Lepton keyword globally in your project(all csproj files) and share the search results.
Thanks
hi
Can you test your configuration in a new asp net core app instead of abp template?
or can you share the configuration? Then I will try to reproduce it locally.
liming.ma@volosoft.com
hi
You can add a CachedBundleDynamicFileProvider
class to solve it temporarily.
https://support.abp.io/QA/Questions/7209/404-error-because-of-inconsistent-bundle-hash-keys-across-multiple-instances-on-running-MVC-web-service-with-round-robin-setup#answer-3a12b527-36ba-b989-de9c-ad2e2aff17d9
hi
Why we change IsDynamicClaimsEnabled to false and why does it work?
The framework will create session entities if this IsDynamicClaimsEnabled is true. However on your server it fails.
Unauthorized error 2024-07-17 12:54:05.676 +03:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: Aizanoi.Countries
Please check the permission of the current user.
hi
Where is your 8.1.4 project?
You should run dotnet ef migrations add
command in your old project after upgrading to 8.2.0.
hi
You can check the resource from:
https://learn.microsoft.com/en-us/aspnet/core/security/docker-compose-https?view=aspnetcore-8.0 https://www.google.com/search?q=asp+net+core+docker+compose+https
hi
Try "SelfUrl": "https://{0}.authserver.domain.local:44319",
or "SelfUrl": "https://{{tenantName}}.authserver.domain.local:44319",
hi
What is the value of your options.Applications["MVC"].RootUrl
, This is the key url.