OAuth getRequestToken stopped working

6 views
Skip to first unread message

Jayesh Salvi

unread,
Jul 2, 2010, 11:49:21 PM7/2/10
to foug...@googlegroups.com
Hi,

This morning when I tried to login using OAuth through my app, I got
"400 bad request" during the getRequestToken stage.

The request: https://www.google.com/accounts/OAuthGetRequestToken?scope=http://www.google.com/reader/api%20http://www.google.com/reader/atom&xoauth_displayname=ReaderScope

Of course this worked before. There are no changes in my software. Has
there been any changes on Google OAuth server side?

Meanwhile the another instance of the app which has oauth tokens from
the past is working alright. So the problem seems to be only with the
getRequestToken step.

Anyone from Google know what's going on?
--
Jayesh

Mariano Kamp

unread,
Jul 6, 2010, 12:11:27 PM7/6/10
to foug...@googlegroups.com
Jayesh, 

I am watching this whole OAuth thing from the sidelines and it seems a bit fragile. So let me ask you, does it work again?

Cheers,
Mariano

Jayesh Salvi

unread,
Jul 6, 2010, 12:32:54 PM7/6/10
to foug...@googlegroups.com
Hi Mariano,

Over weekend when I tested from other machine with ReaderScope running
in emulator, it successfully proceeded with OAuth login. Today I
tested on the same machine again where I had seen the problem before
and I get same OAuth error. Since ReaderScope version is same in both
tests, there is no difference in the way I am constructing OAuth
requests. I am not sure where the problem lies.

I will post back if I find the root cause.
--
Jayesh

Reply all
Reply to author
Forward
0 new messages