google/google-api-nodejs-client — pull request #53 by burcu (2013-06-24 13:53:25+00:00)
Title: OAuth2Client shouldn't throw access token error until attempting to refresh

Line 159 of lib/auth/oauth2client.js throws an error if no access token is present, but if a refresh token is present in credentials, an attempt to obtain an access token with the refresh token should be made before failing.