Hi,
I understood the code i above tried is 2-legged authentication
specification, which is not works for my requirement.
I am implementing openId + OAuth ( 3-legged) After i got the
request_token from openID response.
I am sending request_token as oauth_token, consumer key and consumer
secret key. As per documented by Google federated login i am sending
oauth_secet_token as empty.
But i am getting an exception.
com.google.gdata.client.authn.oauth.OAuthException:
oauth_token_secret does not exist. at
com.google.gdata.client.authn.oauth.OAuthParameters.assertExists(OAuthParam
eters.java:
612) .
My code :
GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters();
oauthParameters.setOAuthConsumerKey(CONSUMER_KEY);
oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET);
oauthParameters.setOAuthToken(req.getParameter("openid.ext2.request_token")
.toString());
oauthParameters.setOAuthTokenSecret("");
--
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/oauth?hl=en.