Closed GoogleCodeExporter closed 9 years ago
I'm also seeing this. Any work arounds?
Original comment by dmar...@gmail.com
on 10 Nov 2011 at 7:03
Hi.. That sounds strange. I understand this problem abruptly started coming.
While I try to replicate issue great if you guys can provide any of following
info:
1. steps to replicate - if known.
2. Try login with an account which was working earlier. Does it works?
3. Is there any change in scope or any other thing done since it was working
last?
regards,
Deepak
Original comment by deepakag...@gmail.com
on 10 Nov 2011 at 7:54
Its seems to happen more often if im tethering through my phone on my pc
for internet
Original comment by brianpr...@gmail.com
on 10 Nov 2011 at 11:28
I ran into this issue and debugged it a little bit. I saw it after I had
previously authenticated and tried logging out and then tried to
re-authenticate. The token wasn't getting passed back to the handler. According
to their doc, it may not:
http://code.google.com/apis/accounts/docs/OpenID.html#oauth
"Note: If you request an OAuth token and none is returned, if may be because
you've previously acquired an access token keyed to the specific user and
scope. For privacy considerations, Google expects third-party applications to
store OAuth tokens, which are long-lived, rather than request a new token every
time the application needs to access the user's Google service."
I decided to get rid of using the hybrid auth and wen't straight for the OAuth
v1. It now works great.
Original comment by dmar...@gmail.com
on 10 Nov 2011 at 6:33
Hi, just out of curiosity, did you just change authentication strategy to
Oauth1a and it started working fine?
Original comment by deepakag...@gmail.com
on 11 Nov 2011 at 4:58
I looked on the google website and saw the requirements. I then set the
strategy as follows:
OAuth1_0a oauth1_0aStrategy = new OAuth1_0a(this);
oauth1_0aStrategy.BeforeRequestingRequestToken += (x) => { x.Add(new
QueryParameter("scope", GetScope())); };
return oauth1_0aStrategy;
That was the only change, everything else worked perfectly.
You guys should check out EasyOAuth in CodePlex.com. I like how they have a lot
of the URLs specified in the web.config and it's an easy update from there
without having to recompile.
Original comment by dmar...@gmail.com
on 11 Nov 2011 at 6:02
Hi.
Glad its resolved. "scope" fix is applied in v2.1 along with other minor fixes.
thanks
Original comment by daggar...@brickred.com
on 14 Nov 2011 at 8:32
Original issue reported on code.google.com by
brianpr...@gmail.com
on 8 Nov 2011 at 4:04