Starts in:
99 DAYS
99 HRS
99 MIN
99 SEC
Starts in:
99 D
99 H
99 M
99 S

Activities of "liangshiwei"

Hi,

You just need to follow https://gist.github.com/ebicoglu/ce0f0425bab806d0ee1a87d0073af96b in HttpApi.Host project

Hi,

You just need use the connect/token endpoint and use password grant_type. The request should be:

Hi Abp use identityserver native endpoint. see https://identityserver4.readthedocs.io/en/latest/endpoints/token.html

Hi, You can custom a tenant resolver.

Hi, try:

var tenants = await _tenantRepository.GetListAsync();

var result = await _workRoleTenantAssignments.Where(x => tenants.Select(t => t.Id).Contains(x.TenantId.Value)).ToListAsync();

tenants = tenants.TakeWhile(t => result.Select(r => r.TenantId).Contains(t.Id)).ToList();

Hi,

See https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface.

You can custom login page in HttpApi.Host project.

Hi,

You cannot change the return type in this way, you should to extending data transfer objects, see https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services#extending-data-transfer-objects

It is indeed sha256 and IdentityServer will use the HashedSharedSecretValidator, You can custom a secret validator to validation.

Okey, now I understand your mean. It has nothing to do with abp, It is handled by identityserver. You can see : https://github.com/IdentityServer/IdentityServer4/blob/18897890ce/src/IdentityServer4/src/Validation/Default/SecretValidator.cs

Try:

secret: (configurationSection["MyProjectName_Web:ClientSecret"] ?? "E5Xd4yMqjP5kjWFKrYgySBju6JVfCzMyFp7n2QmMrME=*").Sha256()
Showing 2041 to 2050 of 2428 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 22, 2025, 10:44