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.
You need to pass the file in the request body before v4.3.
example:
var settings = {
"url": "https://localhost:44362/api/upload-file",
"method": "POST",
"headers": {
"Content-Type": "image/png"
},
"data": "<file contents here>"
};
$.ajax(settings).done(function (response) {
console.log(response);
});
You can use FormData
after v4.3.
https://github.com/abpframework/abp/pull/8302