php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58644 Can't make a successful OAuth request
Submitted: 2009-04-22 22:14 UTC Modified: 2009-04-23 04:12 UTC
From: iamscrumpyjack at gmail dot com Assigned:
Status: Not a bug Package: oauth (PECL)
PHP Version: 5.2.6 OS: Mac OS X 10.5.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: iamscrumpyjack at gmail dot com
New email:
PHP Version: OS:

 

 [2009-04-22 22:14 UTC] iamscrumpyjack at gmail dot com
Description:
------------
I have downloaded the package and built it from source using 
phpize ./configure etc as it wouldn't build correctly using 
pecl install oauth-beta...

When running getRequestToken I keep getting "making the 
request failed (URL using bad/illegal format or missing URL)" 
but mu URL is valid and contains no bad characters

Reproduce code:
---------------
$oauth = new OAuth (MY_OAUTH_KEY, MY_OAUTH_SECRET);
$request_token_info = $oauth->getRequestToken('https://www.google.com/accounts/OAuthGetRequestToken');

Expected result:
----------------
I expect the a request token that I can use later

Actual result:
--------------
Fatal error: Uncaught exception 'OAuthException' with message 
'making the request failed (URL using bad/illegal format or 
missing URL)'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-23 01:19 UTC] rasmus@php.net
OAuth token requests are currently disabled by all major providers while we work out a security issue in the OAuth protocol itself.  This is not a PHP bug.  Give it a couple of days and try again (probably with an updated version of the OAuth extension)
 [2009-04-23 01:36 UTC] jawed@php.net
Besides that, I can pecl install oauth-beta just fine too.
 [2009-04-23 04:12 UTC] iamscrumpyjack at gmail dot com
Ok, just my bad timing... It's weird how many times I try to 
do something for the first time and then find that the 
Internet is broken! Must be me...

Regarding the pecl install problem I think that is because I 
am running on a 64-bit setup of PHP. Don't know how to make 
pecl install build extensions in 64-bit yet
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 01:01:28 2025 UTC