Hi, I'm fairly new to the world of Oauth and struggling to implement a oauth integration for a webservice.
I managed to succesfully connect to imap with an authorized request token. However, for the application i'm building I need to know the user name of the gmail account that authenticated the connection. I know the solution lies here, http://sites.google.com/site/oauthgoog/Home/emaildisplayscope However all my tests in retrieving the username fails. I tried for instance using the oauth playground http://googlecodesamples.com/oauth_playground/ and all i could get was an "invalid token" reply. Clearly the scope selected for tests was "https://www.googleapis.com/auth/userinfo#email" Here's an example of my requests: GET /userinfo/email HTTP/1.1 Host: www.googleapis.com Accept: */* Authorization: OAuth oauth_version="1.0", oauth_nonce="b7467c66cede4ee8adba9ed37aa3f76a", oauth_timestamp="1282670504", oauth_consumer_key="anonymous", oauth_token="4%2FpkfNNkRJ10HGuN6vyx6ymN8euiqx", oauth_signature_method="HMAC-SHA1", oauth_signature="0XI8RXHHrSAAJC8J%2FBV6dLRDdR4%3D" Content-Type: text/csv GData-Version: 2.0 Can you spot what could be the problem? Thanks BobBro -- 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.
