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")
})
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. : )
You can also copy code of PR to your project then you can use FormData .
hi
The abp-translation.json
file has been sent to your email.