Hi,

I am having a problem with OAuth token authentication, a similar problem to http://groups.google.com/group/partuza/browse_thread/thread/7b4bea940d386119, but not sure what the solution is. This is what I did,

1. I added the Google OAuth-Contact gadget to my local container (http://gadget-doc-examples.googlecode.com/svn/trunk/opensocial-gadgets/oauth-contacts.xml).

2. I added the following to my shindig/config/oauth.json
 
"http://gadget-doc-examples.googlecode.com/svn/trunk/opensocial-gadgets/oauth-contacts.xml":
 {
  "google" : {
      "consumer_key" : "consumer_key",
      "consumer_secret" : "consumer_secret",
      "key_type" : "HMAC_SYMMETRIC"
    }
  }

3. I went into the gadget page, I was able to see:
OAuth Contacts:
Personalize this gadget

4. I clicked on the "Personalize this gadget" link, it redirects me to Google for authentication. However, I got the following:
Invalid Token.

The link for the Google authentication page is: https://www.google.com/accounts/OAuthAuthorizeToken?oauth_callback=http://oauth.gmodules.com/gadgets/oauthcallback?oauth_token=

Notice how the "oauth_token" is empty. From the post by Chris, this behavior was supposed to be correct. Though, I am not sure why I am getting an Invalid Token error.. Any help is appreciated!


Thanks,
Harris

--
Harris Wong
Accessible Software Developer
Adaptive Technology Resource Centre, University of Toronto
130 St. George Street
Toronto, ON, M5S 1A5

Reply via email to