Skip to content

GOAuth2Request doesn't handling expired token correctly #713

@GoogleCodeExporter

Description

@GoogleCodeExporter
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



Original issue reported on code.google.com by ita...@gmail.com on 16 Mar 2015 at 8:48

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions