Issue 713 in google-gdata: GOAuth2Request doesn't handling expired token correctly

21 views
Skip to first unread message

google...@googlecode.com

unread,
Mar 16, 2015, 4:48:36 AM3/16/15
to gdata-dotnet-...@googlegroups.com
Status: New
Owner: ----

New issue 713 by ita...@gmail.com: GOAuth2Request doesn't handling expired
token correctly
https://code.google.com/p/google-gdata/issues/detail?id=713

What steps will reproduce the problem?
1. Login using the OAuth2 flow
2. Retrieve the AccessToken and RefreshToken
3. Wait for the AccessToken to expire.
4. Try to retrieve the list of Picasa Albums (using an AlbumQuery) (with
both the AccessToken and the RefreshToken)
5. GOAuth2Request.Execute() doesn't handle the Forbidden HttpStatusCode
correctly (doesn't try to refresh the AccessToken)

What is the expected output? What do you see instead?
GOAuth2Request.Execute() method should handle the Forbidden HttpStatusCode
the same way it handles the Unauthorized code - by trying to refresh the
AccessToken using the given RefreshToken




--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages