We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac68fd4 commit c152a7dCopy full SHA for c152a7d
src/AspNet.Security.OAuth.VisualStudio/VisualStudioAuthenticationHandler.cs
@@ -72,9 +72,6 @@ protected override async Task<OAuthTokenResponse> ExchangeCodeAsync([NotNull] OA
72
73
using var request = new HttpRequestMessage(HttpMethod.Post, Options.TokenEndpoint);
74
75
- // TODO Review whether this is just a copy-paste mistake and is redundant by testing with a real instance
76
- request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/x-www-form-urlencoded"));
77
-
78
request.Content = new FormUrlEncodedContent(tokenRequestParameters);
79
80
using var response = await Backchannel.SendAsync(request, Context.RequestAborted);
0 commit comments