diff --git a/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs b/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs index 5a3264b..83baf25 100644 --- a/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs +++ b/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs @@ -70,13 +70,13 @@ public async Task GetSearchHistoryAsync(UserEntity entity) public async Task LoginWindowsIntegratedAsync() { - var providers = await GroupGetAsync("AuthenticationProviders"); + var providers = await GroupGetAsync("AuthenticationProviders").ConfigureAwait(false); var provider = providers.Providers.SingleOrDefault(p => p.Name == "Integrated Windows Authentication"); if (provider == null) throw new SeqApiException("The Integrated Windows Authentication provider is not available."); - var response = await Client.HttpClient.GetAsync(provider.Url); + var response = await Client.HttpClient.GetAsync(provider.Url).ConfigureAwait(false); response.EnsureSuccessStatusCode(); - return await FindCurrentAsync(); + return await FindCurrentAsync().ConfigureAwait(false); } } }