I have been exploring the drupal module landscape for a solution that would allow a drupal site to access and update data (calendar data in my initial use case) directly from a drupal site. The google calendar API allows you to create a registered service account using OAuth 2.0 (1.x being deprecated). This would allow the drupal site to update the calendar directly - using a server based private key.

There are several google_auth related module but they are all 6.x and OAuth 1.0

Does this module only support communications to another Drupal site running using Services or can it also be used to connect to Google Apps? - are their any plans to extend it. The module structure looks very modular and extensible.

Comments

sadashiv’s picture

I made a sandbox project for Google OAuth 2. It gives you OAuth2 authentication and we can then use the authenticated accounts to carry api requests. You may refer it at http://drupal.org/sandbox/sadashiv/1857254

Hth,
Sadashiv.

sadashiv’s picture

You can check http://drupal.org/project/gauth for oauth2 authentication

Thanks,
Sadashiv

Nick_vh’s picture

Status: Active » Postponed

Postponing this for now. I don't think this on a direct roadmap for this module unless more contributions come in

mhrabovcin’s picture

Hello, latest version of services_client_connection support making raw HTTP requests to endpoint so its not limited to be paired only with Services module. However oauth2 is fully supported by oauth module which is dependency (there is a experimental support, but I am not sure what that means)