Closed GoogleCodeExporter closed 9 years ago
are you using the .NET code to do all this?
if so, you might want to sync up with the current trunk and try again. I fixed
some encoding issues that might
have effected that. If that still happens, can you zip up a sample file to
reproduce this so that i can debug the
situation?
Frank Mantek
Google
Original comment by fman...@gmail.com
on 26 May 2010 at 8:03
Hi Frank Mantek,
Thank you so much for fixing these issues.
I took the latest code, seems to be able to compile successfully. But I found
another
issue like how should we pass the additional parameters in the following
requests:
https://www.google.com/accounts/OAuthGetRequestToken
oauth_callback
xoauth_displayname
https://www.google.com/accounts/OAuthGetAccessToken
oauth_verifier
I tried to pass these parameters in the URL query values, but received a 400 bad
request error.
Sample Request/Response:
========================
GET
/accounts/OAuthGetRequestToken?scope=https%3A%2F%2Fdocs.google.com%2Ffeeds%2F%20
https%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2F&oauth_callback=oob&xoauth_displayna
me=Test%20App
HTTP/1.1
Authorization: OAuth
oauth_version="1.0",oauth_nonce="d729ae21401a4ff687e251cc1e365e1d",oauth_timesta
mp="1274900557",oauth_consumer_key="test.com",oauth_signature_method="HMAC-SHA1"
,oauth_signature="NB79q%2FVPLyTz83sqWIajM5EG2uc%3D"
HTTP/1.1 400 Bad Request
Content-Type: text/plain; charset=UTF-8
Date: Wed, 26 May 2010 19:03:52 GMT
We really appreciate your help.
Thanks
Anbu
Original comment by anbu.fre...@gmail.com
on 26 May 2010 at 7:11
It would really help/make this easier for me/faster to debug, if you create a
sample
solution that shows the issue and attached it to this bugreport. Right now i am
guessing and need to spend a lot of time trying to figure out how you are doing
what
you are doing and where it might go wrong.
Please provide a code sample with a bogus auth for me.
Thank you
Frank Mantek
Original comment by fman...@gmail.com
on 7 Jun 2010 at 2:45
Thank you so much.
Please find the attached sample application, make sure to reference the
necessary latest Google docs libraries.
The issue is, I'm not able to pass the additional parameters for a better user
experience when request and authorize tokens.
Additional Parameters:
======================
oauth_callback
xoauth_displayname
(https://www.google.com/accounts/OAuthGetRequestToken)
oauth_verifier
(https://www.google.com/accounts/OAuthGetAccessToken)
Thanks
Anbu
Original comment by anbu.me...@gmail.com
on 8 Jun 2010 at 12:59
Attachments:
Now i understand. You do not want to just authenticate, you want the whole
"oauth dance". I don't have that in my code. I can only use tokens you already
got.
I am going to work on this, but it will be a while. If you need that kind of
code, you should download the open source oauth library, that one provides you
with this.
Original comment by fman...@gmail.com
on 22 Jun 2010 at 9:20
Original issue reported on code.google.com by
anbu.fre...@gmail.com
on 18 May 2010 at 3:02