Attività di "saad.aldulaijan"

so this is useless?

https://docs.abp.io/en/abp/latest/Getting-Started-Running-Solution?UI=NG&DB=EF&Tiered=No

Solution is to have shared library between the services. ETO must be exactly the same.

I already tried it it didn't work, it returns 401 if not authenticated. It seems fileDescriptorAppService itself is secured.

I also tried to add on Auto Mapper Profile

public class IdentityServiceApplicationAutoMapperProfile : Profile
{
    public IdentityServiceApplicationAutoMapperProfile()
    {
        CreateMap<OpenIddictApplication, ApplicationDto>().MapExtraProperties();     
    }
}

It throws an exception:

AutoMapper.AutoMapperConfigurationException: Unmapped members were found. Review the types and members below. Add a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type For no matching constructor, add a no-arg ctor, add optional arguments, or map all of the constructor parameters

OpenIddictApplication -> ApplicationDto (Destination member list) Volo.Abp.OpenIddict.Applications.OpenIddictApplication -> Volo.Abp.OpenIddict.Applications.Dtos.ApplicationDto (Destination member list)

Unmapped properties: AllowPasswordFlow AllowClientCredentialsFlow AllowAuthorizationCodeFlow AllowRefreshTokenFlow AllowHybridFlow AllowImplicitFlow AllowLogoutEndpoint AllowDeviceEndpoint Scopes

hi

I also tried to add on Auto Mapper Profile

Do not add this, The module will handle the mapper.

Is the ExtraProperties exists on database table?

Can you test your code with the latest project template?

If still not working please share the project. liming.ma@volosoft.com

Hi ,

I am using Microservices template v7.0.1, should I upgrade ?

The field exists on database

This is exactly what I want.

hi

I am using Microservices template v7.0.1, should I upgrade ?

Can you test your code with the latest project template?

Hi, I tried the latest version, same issue

Try adding it to the AdministrationService.Host please. SettingMagement is hosted by AdministrationService.

I did that already, it did not work

I also added it to IdentityService.HttpApi.Host but still did not work,

I tried flushall redis.

I found this error as well

Issue resolved by adding

"StringEncryption": { "DefaultPassPhrase": "RGglP1UMH8AtjP1G" }

to AuthServer appsettings.json

1 - 10 di 11
Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11