diff --git a/lib/google/api_client/auth/file_storage.rb b/lib/google/api_client/auth/file_storage.rb index b87bb2e09..771ebac7c 100644 --- a/lib/google/api_client/auth/file_storage.rb +++ b/lib/google/api_client/auth/file_storage.rb @@ -38,6 +38,7 @@ module Google @path = path store = Google::APIClient::FileStore.new(@path) @storage = Google::APIClient::Storage.new(store) + @storage.authorize end def load_credentials