AddHttpClient for the AbpIdentityModelModule.

pull/2659/head^2
Halil İbrahim Kalkan 6 years ago
parent 1160216849
commit d19577edd3

@ -16,6 +16,7 @@
<ItemGroup>
<PackageReference Include="IdentityModel" Version="4.1.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="3.1.2" />
<ProjectReference Include="..\Volo.Abp.Threading\Volo.Abp.Threading.csproj" />
</ItemGroup>

@ -13,6 +13,8 @@ namespace Volo.Abp.IdentityModel
{
var configuration = context.Services.GetConfiguration();
context.Services.AddHttpClient();
Configure<AbpIdentityClientOptions>(configuration);
}
}

Loading…
Cancel
Save