hi
Usually, you can use ICurrentTenant to get current tenant info, if your API needs to control it, you can pass tenantId
to your API.
https://docs.abp.io/en/abp/latest/Multi-Tenancy#icurrenttenant https://docs.abp.io/en/abp/latest/Multi-Tenancy#change-the-current-tenant
hi
See https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory
public static class CurrentUserExtensions
{
public static string GetSocialSecurityNumber(this ICurrentUser currentUser)
{
return currentUser.FindClaimValue("SocialSecurityNumber");
}
}
hi, We will enhance this in next version.
incognito mode is working fine, but end-user don't open incognito mode.
You can clear the localhost or your domain cache and cookies.
options.Cookie.Name = "API_AuthCookie";options.Cookie.Path = "/";
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity-configuration?view=aspnetcore-6.0#cookie-settings https://docs.microsoft.com/en-us/aspnet/core/security/anti-request-forgery?view=aspnetcore-6.0#configure-antiforgery-with-antiforgeryoptions https://docs.abp.io/en/abp/latest/CSRF-Anti-Forgery#configuration-customization
You can check the module that can be called in your project, and search for it in the entire solution.
hi
I shared a new project with you. Please check.
Thanks @Dicky.tech
Can you clear the Redis and re-try?
If it still not working, Please share the details info that exist in the logs.txt
hi cellero
You need to create your TUserDto
class. Then configure the map.
hi
Can you change the base class from FullAuditedEntityWithUserDto<Guid>
to FullAuditedEntityWithUserDto<Guid, TUserDto>
?