I'm working on a module to allow users to authenticate against their Google Apps account using OAuth, and want to use the OAuth Common module as a dependency. However, the current API isn't really usable for me. The getAccessToken() and other client methods make assumptions about the oauth paths, which aren't valid for Google's OAuth servers. Google Apps also requires additional non-standard parameters, which can't be specified with the current API - though the OAuth library itself can handle it.
I've attached a patch which adds this functionality. I hope you'll consider adding these features.
Cheers,
Stella
| Comment | File | Size | Author |
|---|---|---|---|
| oauth_common.patch | 3.6 KB | stella |
Comments
Comment #1
buddaLooks like the method updates in this patch are already implemented in the latest release of the project.
Comment #2
stella commentedYep, looks like it was committed in http://drupal.org/cvs?commit=316266
Comment #3
Hugo Wetterberg commentedHi stella,
Yeah, it made it into the 1.x (sorry about not updating the issue status), but it isn't included in the 2.x release. What I've moved towards is instead to store endpoint information with the consumers themselves, so that the calling party doesn't have to know the specifics for the consumer to retrieve a authorization.