Open zoran-php opened 5 years ago
When I send refresh token that I get from social auth using Linkedin access token, I get 401, and description "The refresh token is invalid".
The Guzzle snippet that I'm using: $response = $http->post($url, [ 'form_params' => [ 'grant_type' => 'refresh_token', 'refresh_token' => $refreshToken, 'client_id' => $client_id, 'client_secret' => $client_secret, 'scope' => '', ] ]);
$response = $http->post($url, [ 'form_params' => [ 'grant_type' => 'refresh_token', 'refresh_token' => $refreshToken, 'client_id' => $client_id, 'client_secret' => $client_secret, 'scope' => '', ] ]);
When I send refresh token that I get from social auth using Linkedin access token, I get 401, and description "The refresh token is invalid".
The Guzzle snippet that I'm using:
$response = $http->post($url, [ 'form_params' => [ 'grant_type' => 'refresh_token', 'refresh_token' => $refreshToken, 'client_id' => $client_id, 'client_secret' => $client_secret, 'scope' => '', ] ]);