feat: fix of FormUrlEncoded params
This commit is contained in:
parent
e4c7df9714
commit
a32bfb6e99
@ -42,7 +42,7 @@ public class HeadHunterService(ILogger<HeadHunterService> logger, IOptions<HeadH
|
||||
using var client = new HttpClient();
|
||||
var form = new Dictionary<string, string>
|
||||
{
|
||||
{ "client-id", _config.ClientId },
|
||||
{ "client_id", _config.ClientId },
|
||||
{ "client_secret", _config.Secret },
|
||||
{ "code", authorizationCode },
|
||||
{ "grant_type", "authorization_code" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user