diff --git a/Owin.Security.Providers/Backlog/BacklogAuthenticationHandler.cs b/Owin.Security.Providers/Backlog/BacklogAuthenticationHandler.cs index 60c784e..07f91c3 100644 --- a/Owin.Security.Providers/Backlog/BacklogAuthenticationHandler.cs +++ b/Owin.Security.Providers/Backlog/BacklogAuthenticationHandler.cs @@ -72,6 +72,7 @@ namespace Owin.Security.Providers.Backlog body.Add(new KeyValuePair("client_secret", Options.ClientSecret)); // Get token + httpClient.DefaultRequestHeaders.Authorization = null; HttpResponseMessage tokenResponse = await httpClient.PostAsync(Options.TokenEndpoint, new FormUrlEncodedContent(body)); tokenResponse.EnsureSuccessStatusCode();