diff --git a/api/Infrastructure/ServiceCollectionExtensions.cs b/api/Infrastructure/ServiceCollectionExtensions.cs index eafaa058..6b1a6720 100644 --- a/api/Infrastructure/ServiceCollectionExtensions.cs +++ b/api/Infrastructure/ServiceCollectionExtensions.cs @@ -57,9 +57,9 @@ public static IServiceCollection AddHttpClientsAndScvServices(this IServiceColle services.AddHttpClient(client => { - client.DefaultRequestHeaders.Authorization = new BasicAuthenticationHeaderValue( - configuration.GetNonEmptyValue("LocationServicesClient:Username"), - configuration.GetNonEmptyValue("LocationServicesClient:Password")); + // client.DefaultRequestHeaders.Authorization = new BasicAuthenticationHeaderValue( + // configuration.GetNonEmptyValue("LocationServicesClient:Username"), + // configuration.GetNonEmptyValue("LocationServicesClient:Password")); client.BaseAddress = new Uri(configuration.GetNonEmptyValue("LocationServicesClient:Url").EnsureEndingForwardSlash()); }).AddHttpMessageHandler();