TerribleDev / OwinOAuthProviders

OAuth providers for Owin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instagram: 400 Bad Request when I try to get access token

maxim-rudnev opened this issue · comments

commented

Hello!

When I try to get access token, I receive 400 Bad Request in InstagramAuthenticationHandler.AuthenticateCoreAsync()

line: var tokenResponse =
await _httpClient.PostAsync(TokenEndpoint, new FormUrlEncodedContent(body));

commented

Sorry!

I have space char in client secret.
Problem solved