jcline / fuse-google-drive

A fuse filesystem wrapper for Google Drive.
GNU General Public License v2.0
285 stars 48 forks source link

Login to Google Drive #2

Closed jcline closed 12 years ago

jcline commented 12 years ago

Unfortunately, there is no C library provided by Google.

Need: A way to handle oauth (libcurl?) A set of wrapper functions to make the necessary requests easy to call from fuse operations A way to ask the user to grant us permission to access their Google Drive account (just print out a URL and wait?)

jcline commented 12 years ago

A nice description of the authorization process.

https://developers.google.com/drive/about_auth

jcline commented 12 years ago

Going to try to figure out how to use librest, since implementing oauth2 from scratch would take a while.

Anyone know of any other C libraries for oauth2 or have any tips for using librest?

jcline commented 12 years ago

https://developers.google.com/accounts/docs/OAuth2InstalledApp

Going to see if I can get by with curl afterall. :D