Maybe you can use passport.js with google oauth2, ask for an access
token with 'offline ' so you can get a refresh token as well. I wrote
a module to autorefresh the tokens and i use it with a provisioning
client library i did, is on my github

2013/1/13, Angel Java Lopez <[email protected]>:
> Hi people!
>
> I just browsing Google Drive SDK:
>
> Google Drive Developers
> https://developers.google.com/drive/
>
> There are many examples, in different technologies and languages. There is
> a JavaScript client example:
> https://developers.google.com/drive/quickstart-js
>
> But I want to use Google Drive like in .NET and other examples in DrEdit
>
> Dr.Edit
> https://developers.google.com/drive/examples/index
>
> For example, the .NET example is an ASP.NET MVC 3 application, where the
> client side makes the OAuth2 web dance ;-), AND THEN SERVER SIDE calls the
> google side so it can have access, TOO.
> https://developers.google.com/drive/examples/dotnet#authorizing_a_code_passed_from_the_google_drive_ui
> They are using a library from Google
> http://code.google.com/p/google-api-dotnet-client/
>
> There is a JavaScript client at:
> http://code.google.com/p/google-api-javascript-client/
> BUT ORIENTED TO browser client
>
> Any module, or at least, clues of implementing Node.js server side google
> library like .NET one?
> The only reference I found was:
> http://stackoverflow.com/questions/12131529/any-libraries-that-can-make-accessing-google-apis-as-a-service-account-simpler-f
>
> Angel "Java" Lopez
> @ajlopez
> github:ajlopez
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Enviado desde mi dispositivo móvil

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to