mirror of
https://github.com/php/pecl-web_services-oauth.git
synced 2026-03-23 23:52:06 +01:00
The WePay API returns the full authorize URL now
git-svn-id: https://svn.php.net/repository/pecl/oauth/trunk@301479 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@@ -10,7 +10,7 @@ try {
|
||||
file_put_contents(OAUTH_TMP_DIR . "/wepay_request_token_resp",serialize($arrayResp));
|
||||
|
||||
// Get the authorizating URL that the user needs to click on to authorize the request token
|
||||
$authorizeUrl = $arrayResp["login_url"] . "&oauth_token=" . $arrayResp['oauth_token'];
|
||||
$authorizeUrl = $arrayResp["login_url"];
|
||||
if(PHP_SAPI=="cli") {
|
||||
echo "Point your Web browser at: {$authorizeUrl}\n";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user