I\'m am using the google drive api within a background script so it can be used with my chrome extension. I got the authentication working, but I\'m wondering why this gapi