Activities of "maliming"

hi

You can inject the ICurrentPrincipalAccessor service. then check its claims. PrincipalAccessor.Principal?.FindEditionId() If there is no EditionId claims, you shuold CurrentPrincipalAccessor.Change to set is as tenant's EditionId.

using (CurrentPrincipalAccessor.Change(new Claim(AbpClaimTypes.EditionId, currentTenant.EditionId)))
{
   
}

if one Editon has the feature Trial checked, it is returning false anyway.

Can you confirm the EditionId is exists?


using (CurrentPrincipalAccessor.Change(new Claim(AbpClaimTypes.EditionId, currentTenant.EditionId)))
{
   
}

hi RonaldR

You should use abp.ajax in javascript, it automatically adds anti forgery token to the HTTP header to satisfy CSRF protection validation on the server side.

https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Ajax

hi please check this https://github.com/abpframework/abp/issues/8073#issuecomment-799999030

hi

when I try to get the claim value through a microservice it doesn't exists in the CurrentUser.

Can you check the claims in your jwt(https://jwt.io/)? You can also try the following configuration.

Configure<AbpClaimsServiceOptions>(options=>
{
    options.RequestedClaims.Add("tenantname")
})

Did you enable the ldap feature?

hi

For backend

Override the AbpApplicationConfigurationAppService service and replace the following method:

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L25 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L184 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L221

hi

My work hours is UTC+8. You can send me an email when you're available. liming.ma@volosoft.com

We will further enhance it in the future. : )

Showing 11541 to 11550 of 12107 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on March 09, 2026, 08:51
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.