hi
What's your LeptonX package version?
How can I check your solution? Is it possible to share code?
hi
Abp uses OpenIddict as an OAuth server.
You can get and refresh the token by its endpoints.
https://www.oauth.com/
hi
Please use using
for _currentTenant
and ICurrentPrincipalAccessor
using(_currentTenant.Change(eventData.TenantId))
{
var newPrincipal = new ClaimsPrincipal(
new ClaimsIdentity(
new Claim[] {
new Claim(AbpClaimTypes.UserId, eventData.CreatorId.ToString()),
new Claim(AbpClaimTypes.TenantId, eventData.TenantId.ToString()),
new Claim(AbpClaimTypes.UserName, "admin")
}
)
);
using(_currentPrincipalAccessor.Change(newPrincipal))
{
var detail = await _bulkActionDetailRepository.GetAsync(x => x.BulkActionId == eventData.BulkActionId && x.FileDescriptorId == eventData.FileDescriptorId);
if (detail != null)
{
detail.Status = eventData.Status;
detail.StatusDetail = eventData.StatusMessage;
await _bulkActionDetailRepository.UpdateAsync(detail, true);
}
}
}
There is no API to get this. You can create your own, or just get a setting from javascript.
https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Settings
hi
var defaultLanguage = await settingProvider.GetOrNullAsync(LocalizationSettingNames.DefaultLanguage);
https://docs.abp.io/en/abp/latest/Settings#reading-the-setting-values
I don't remember EnableLocalLogin
ever having such a bug. It should have been changed in the UI.
I tried delete all the records in the PermissionGrant table
What were the previous records?