We have an example of how to custom Identityuser: https://github.com/abpframework/abp-samples/tree/master/DocumentationSamples/CustomApplicationModules
Most time was taken to read https://docs.abp.io/en/abp/latest/Authorization, but it was worth reading :-). what I understand is Permission like CRUD can be design but that is for Entity level, however I need to define permission for each application created in Volo.Abp.OpenIddict.OpenIddictApplication Individual Application created in OpenIddictApplication
You can grant permissions to OpenIddictApplication.
Hi,
Actually, this is not about ABP, can you check this: https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/dotnet-core?view=azure-devops&tabs=dotnetfive#publish-artifacts-to-azure-pipelines
Hi,
You can try this:
1
Run the abp generate-proxy -m userTaskService -t csharp -url https://localhost:44377 --without-contracts command on the Exceego.EHSWatch.AppV3.UserTaskService.HttpApi.Client project
2
Open the UserTaskServiceHttpApiClientModule class and change AddHttpClientProxies to AddStaticHttpClientProxies
You can see it's working:
But it's still a problem, I'll consider enhancing it: https://github.com/abpframework/abp/issues/16323
Hi,
You can see the test result:
This way should work:
public async Task<ScreenDto> GetAsync(Guid id)
{
var inventory = await _inventoryScreenAppService.GetAsync(id);
var campaign = await _campaignScreenAppService.GetAsync(id);
var screenDto = new ScreenDto();
ObjectMapper.Map(inventory, screenDto);
ObjectMapper.Map(campaign, screenDto);
return screenDto;
}
Hi,
Because there is no local account here, you can try this:
.AddOpenIdConnect(Azure...,options =>
{
var tokenValidated = options.Events.OnTokenValidated;
options.Events.OnTokenValidated = validatedContext =>
{
tokenValidated.Invoke(validatedContext);
validatedContext.Principal.AddClaim(AbpClaimTypes.Email, validatedContext.Principal.FindFirstValue(ClaimTypes.Email));
return Task.CompletedTask;
};
})
Hi,
Please email me when you have time,
BTW, You can also share a project that can reproduce the problem with me shiwei.liang@volosoft.com, I will check it out.
Hi,
It's possible, but your web project should be completely independent and not refer to any service project.
Generate static proxy for the web app: https://docs.abp.io/en/abp/latest/CLI#options-6
We support this feature after 7.0.0, (It also requires that the service version is 7.0.0.) :https://github.com/abpframework/abp/issues/13613 But you can check changes of PR: https://github.com/abpframework/abp/pull/14429/files to customize your project
Hi,
The ABP suite doesn't support adding modules to module template yet.
You need to add it manually. we will consider. we will consider enhancing it in future versions