indexzero/node-asana-api — pull request #11 by productiveme (2014-03-16 17:35:31+00:00)
Title: Extend request to attempt refresh of OAuth token if expired

If the OAuth access token provided has expired, supply additional options to refresh it before continuing with the request. This typically happens when the access token is stored during log on, but then expires before the user logs out. Any attempts to use the API will then end in 401 errors.