Hi

I am trying to display a widget that uses OAuth to get data from a service. I 
followed the example on the Rave web site to add a record to the 
oauth_consumer_store table with consumer key/secret etc. This doesn't seem to 
work, I am getting this error.


logs:
[WARNING] [talledLocalContainer] Jan 26, 2012 4:23:20 PM 
org.apache.shindig.gadgets.oauth.OAuthRequest fetchNoThrow
[WARNING] [talledLocalContainer] WARNING: The following fatal error occurred 
when OAuth was fetching content:
[WARNING] [talledLocalContainer]  No oauth_token returned from service provider.



>From firebug:

throw 1; < don't be evil' 
>{"https://abchost.org/services/api/rest/xml?method=abc.status":{"oauthError":"MISSING_OAUTH_PARAMETER","body":"","oauthErrorText":"No
 oauth_token returned from service provider\n\n==== Original request:\nGET 
/services/api/rest/xml?method=abc.status\n\nHost: 
abchost.org\nX-Shindig-AuthType: oauth\nX-Forwarded-For: 
127.0.0.1\nX-shindig-dos: on\n\n\n====\n==== Sent request 1:\nPOST 
/pg/oauth/requesttoken\n\nHost: abchost.org\nX-Shindig-AuthType: 
none\nAuthorization: OAuth 
oauth_callback=\"http%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Foauthcallback%3Fcs%3DqFzdD2XIe52U3kcdMazW6gqEyKGQ3BI-VS147qQ0w6l6SIJ2NSzFi-AJOCLR_1x9_ghz08aK1OXgifgG8owxhqFAAnxU9_0dg4U6s9qzhzeMAkNOg1oVualcNZtkrenRixDy4Q\",
 xoauth_signature_publickey=\"abcde\", xoauth_public_key=\"abcde\", 
oauth_version=\"1.0\", oauth_timestamp=\"1327613000\", 
oauth_nonce=\"6078074619793889950\", 
oauth_consumer_key=\"a0e8ae522d755fbc5cbdb77a37d3ae16\", 
oauth_signature_method=\"HMAC-SHA1\", 
oauth_signature=\"lb4tYFTxA7Wr095leGWiR96Adlk%3D\"\nContent-Type: 
application/x-www-form-urlencoded\nX-shindig-dos: on\n\n\n==== Received 
response 1:\nHTTP/1.1 200\r\n\r\nCache-Control: no-store, no-cache, 
must-revalidate, post-check=0, pre-check=0\r\nConnection: 
close\r\nContent-Encoding: gzip\r\nContent-Length: 45\r\nContent-Type: 
text/html; charset=UTF-8\r\nDate: Thu, 26 Jan 2012 21:23:20 GMT\r\nExpires: 
Thu, 19 Nov 1981 08:52:00 GMT\r\nPragma: no-cache\r\nServer: Apache/2.2.13 (Red 
Hat)\r\nSet-Cookie: Elgg=3cidce3g7lqj2vu84abdg60o74; path=/\r\nVary: 
Accept-Encoding,User-Agent\r\nX-Powered-By: PHP/5.2.10\r\n\r\nInvalid 
signature\n\u003chr 
/\u003e\n\r\n\n====","DataHash":"qgeopmcf02p09qc016cepu22fo","rc":403}}


Has anyone tried running OAuth widget on Rave lately?



Thanks
Venkat


Reply via email to