diff --git a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/Extensions/ProgramConfigurationAndDependencyInjection.cs b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/Extensions/ProgramConfigurationAndDependencyInjection.cs index 2e82c317..ef2613ae 100644 --- a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/Extensions/ProgramConfigurationAndDependencyInjection.cs +++ b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI/Extensions/ProgramConfigurationAndDependencyInjection.cs @@ -148,7 +148,10 @@ public static IServiceCollection AddIntegrationLayer(this IServiceCollection ser services.AddHttpClient(); services.AddHttpClient(); services.AddHttpClient(); + services.AddHttpClient(); + services.AddHttpClient(); services.AddHttpClient(); + services.AddHttpClient(); return services; } @@ -169,9 +172,7 @@ public static IServiceCollection AddCoreServices(this IServiceCollection service services.AddTransient(); services.AddTransient(); services.AddTransient(); - services.AddHttpClient(); - services.AddHttpClient(); - services.AddHttpClient(); + services.AddTransient(); return services; }