400 Bad Request using OAuth after app restart

68 views
Skip to first unread message

Lutz

unread,
Jul 8, 2012, 11:12:04 PM7/8/12
to foug...@googlegroups.com
Scenario is client app using OAuth, refresh token to "Bearer XXX", then query this:

First time around this works fine.

Starting recently, after closing the app, restarting and trying again getting 400 bad request:

    "Cache-Control" = "private, max-age=0";
    "Content-Length" = 76;
    "Content-Type" = "text/html; charset=UTF-8";
    Date = "Mon, 09 Jul 2012 02:34:26 GMT";
    Expires = "Mon, 09 Jul 2012 02:34:26 GMT";
    Server = GSE;
    "X-Content-Type-Options" = nosniff;
    "X-Frame-Options" = SAMEORIGIN;
    "X-Reader-Google-Version" = "553-000";
    "X-XSS-Protection" = "1; mode=block";

"X-Reader-User" is missing

Content: <dl><dt>xt.0</dt><dd>You must be signed in to access this stream.</dd></dl>

Any ideas what is causing this issue?

Lutz

unread,
Jul 11, 2012, 5:07:32 AM7/11/12
to foug...@googlegroups.com
Adding https://www.googleapis.com/auth/userinfo.profile seems to make this work.
Reply all
Reply to author
Forward
0 new messages