Hi Oren, 3-legged oauth requires a different consumer-key from that of 2-legged oauth consumer key. While 2-legged looks like orkut.com:<app-id>, 3-legged oauth keys are a domain.
Please follow the instructions here to register for a 3-legged oauth application. http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html#register Thanks, Sachin On Mon, Jul 5, 2010 at 8:25 PM, <orentja...@gmail.com> wrote: > Hi, > > I am trying to use 3 legged auth to login to my application. > I had success with 2 legged auth. > > I am using the OAuth Playground as well as the new java client released and > I am getting the same error, > can sombidy assist with that > > this is the playground response for request token: > > > > --------------------------------------------------------------------------------- > GET /accounts/OAuthGetRequestToken?scope=http%3A%2F% > 2Fsandbox.orkut.gmodules.com%2Fsocial%2Frpc+ HTTP/1.1 > Host: www.google.com > Accept: */* > Authorization: OAuth oauth_version="1.0", > oauth_nonce="f2a7d65bedf5a0db764e7d6796908a64", > oauth_timestamp="1278341366", oauth_consumer_key="orkut.com%3AXXXXXXXXXXXX", > oauth_callback="http%3A%2F%2Fgooglecodesamples.com%2Foauth_playground%2Findex.php", > oauth_signature_method="HMAC-SHA1", > oauth_signature="OjN56ysaCQfbvxTSzDCTS66tchc%3D" > > HTTP/1.1 400 Bad Request > Content-Type: text/plain; charset=UTF-8 > Date: Mon, 05 Jul 2010 14:49:26 GMT > Expires: Mon, 05 Jul 2010 14:49:26 GMT > Cache-Control: private, max-age=0 > X-Content-Type-Options: nosniff > X-XSS-Protection: 1; mode=block > Content-Length: 52 > Server: GSE > > Consumer is not registered: orkut.com:XXXXXXXXXXXX > > --------------------------------------------------------------------------------- > > > thanks > Oren. > > -- > You received this message because you are subscribed to the Google Groups > "orkut Developer Forum" group. > To post to this group, send email to opensocial-or...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to opensocial-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.