Thanks. I changed the app token lifetime and the problem was solved.
public MerchantAppService(
IMerchantRepository merchantRepository,
IProductGroupAppService productGroupAppService,
...
)
{
_productGroupAppService = productGroupAppService;
...
}
public async Task<MerchantDetailDto> GetDetailAsync(Guid id)
{
MerchantDetailDto merchantDetail = new MerchantDetailDto();
var merchant = await _merchantRepository.GetDetailAsync(id);
merchantDetail.Merchant = ObjectMapper.Map<Merchant, MerchantDto>(merchant);
merchantDetail.ProductGroups = await _productGroupAppService.GetListByMerchantIdAsync(id);
...
}
Thanks. I solved it using integration service.
hi maliming
Thank you for your quick response. I created IntegrationAppService in IdentityService. But I cannot access this service I created from other microservices.
Microservice application.csproj

I know I can't access it because I can't create proxies in the identity service. But I still wanted to explain. What should I do now?


