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 b6bdf2d commit fa0b177Copy full SHA for fa0b177
src/AspNet.Security.OAuth.Dropbox/DropboxAuthenticationHandler.cs
@@ -28,7 +28,7 @@ public DropboxAuthenticationHandler([NotNull] HttpClient client)
28
protected override async Task<AuthenticationTicket> CreateTicketAsync([NotNull] ClaimsIdentity identity,
29
[NotNull] AuthenticationProperties properties, [NotNull] OAuthTokenResponse tokens)
30
{
31
- var request = new HttpRequestMessage(HttpMethod.Get, Options.UserInformationEndpoint);
+ var request = new HttpRequestMessage(HttpMethod.Post, Options.UserInformationEndpoint);
32
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
33
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", tokens.AccessToken);
34
0 commit comments