What steps will reproduce the problem?
1. When the consumer try to request an access token. I try to pass the
verifier string in the options array:
$oauth_verifier = $_GET["oauth_verifier"];
$tokens = OAuthRequester::requestAccessToken($consumer_key, $oauth_token,
$usr_id, 'GET',array("oauth_verifier"=>$oauth_verifier));
2. The requestAccessToken function is not send this parameter.
3. Then the server is not able to exchange the request token.
What is the expected output? What do you see instead?
The Consumer must send the oauth_verifier to the server
What version of the product are you using? On what operating system?
At revision: 34167
Consumer : Windows XP (WampServer)
Server : LAMP
Please provide any additional information below.
A posible solution :
In the requestAccessToken function add this code:
if (isset($options['oauth_verifier']))
{
$oauth->setParam('oauth_verifier', $options['oauth_verifier']);
}
Original issue reported on code.google.com by psotoul...@gmail.com on 26 May 2010 at 3:47
Original issue reported on code.google.com by
psotoul...@gmail.com
on 26 May 2010 at 3:47