ip2k / google-api-ruby-client

Automatically exported from code.google.com/p/google-api-ruby-client
Apache License 2.0
0 stars 0 forks source link

Access token refresh not working #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When calls to Google::APIClient::execute fail with a status code of 401, the 
library attempts to refresh the access token using the wrong authentication 
object when the authentication object was is sent as an optional parameter to 
Google::APIClient::execute.

See source except below:

line 567:  authorization.fetch_access_token!

should be:  request.authorization.fetch_access_token!

Original issue reported on code.google.com by john.sie...@gmail.com on 24 Feb 2013 at 9:09

GoogleCodeExporter commented 9 years ago

Original comment by sba...@google.com on 26 Feb 2013 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by sba...@google.com on 17 Mar 2013 at 11:34