hi
You can add a new Identity Resouce named institution_id.
Add the institution_id to the request's scopes. options.Scope.Add("institution_id");
[UnitOfWork]
public virtual async Task SeedAsync(DataSeedContext context)
{
using (_currentTenant.Change(context?.TenantId))
{
await _identityResourceDataSeeder.CreateStandardResourcesAsync();
if (!await _identityResourceRepository.CheckNameExistAsync(SHDPClaimTypes.InstitutionId))
{
var institutionIdIdentityResource = new IdentityResource(_guidGenerator.Create(), SHDPClaimTypes.InstitutionId);
institutionIdIdentityResource.AddUserClaim(SHDPClaimTypes.InstitutionId);
await _identityResourceRepository.InsertAsync(institutionIdIdentityResource);
if (await _claimTypeRepository.AnyAsync(SHDPClaimTypes.InstitutionId))
{
await _claimTypeRepository.InsertAsync(
new IdentityClaimType(
_guidGenerator.Create(),
SHDPClaimTypes.InstitutionId,
isStatic: true
)
);
}
}
await CreateClaimTypesAsync();
await CreateApiResourcesAsync();
await CreateClientsAsync();
}
}
var commonScopes = new[]
{
"email",
"openid",
"profile",
"role",
"phone",
"address",
"DigitalPlatform",
"institution_id"
};
hi
You can add a new method to app service to get all items.
Or set the MaxResultCount of GetProvidersInput to int.MaxValue.
so add a new method will be better.
hi
Please share the code of seeding the identity server's configuration.
hi
Please share your identity server config. eg Client, API Scope ,Identity Resource
Thanks.
hi
This feature doesn't support paging now.
https://github.com/abpframework/abp/pull/18226
hi
The team will check this in 2 hours, Thanks.
hi
I checked your source code. It seems no problem.
I think this is an environmental problem. Can you try to publish it on the local IIS server?