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>?
hi
Copy the commit code to your project.
https://github.com/abpframework/abp/commit/03540ca3b0eb5f3ab4f136bcac1be83f173226e2