fuel-packages/fuel-oauth2 — pull request #3 by unforeseen (2011-10-11 11:50:36+00:00)
Title: Added Google support

Hey,

I added Google support.

Notable changes:
Google only supports POST requests to get the token, so I added a parameter that defaults to GET but is overridden in Provider_Google as POST. The request is then posted in the access() function.

Added 'grant_type' => 'authorization_code' to the params when getting a token. I think this is in the OAuth spec. Removed 'response_type'.

Let me know if I've made any whoopsies.

(if this gets merged, I'll pull request the necessary change to ninjauth)

Rob :)