Skip to content

Commit

Permalink
Add Google config to POD.
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Sep 8, 2011
1 parent a4b9e4a commit e7d890e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.mkdn
Expand Up @@ -54,6 +54,12 @@ And then [Plack::Middleware::OAuth](http://search.cpan.org/perldoc?Plack::Middle
scope => 'user,public_repo'
},

'Google' => {
client_id => '',
client_secret => '',
scope => 'https://www.google.com/m8/feeds/'
},

# authorize path: /oauth/custom_provider
# authorize callback path: /oauth/custom_provider/callback
'custom_provider' => {
Expand Down
6 changes: 6 additions & 0 deletions lib/Plack/Middleware/OAuth.pm
Expand Up @@ -385,6 +385,12 @@ L<http://youdomain.com/oauth/twitter/callback>.
scope => 'user,public_repo'
},
'Google' => {
client_id => '',
client_secret => '',
scope => 'https://www.google.com/m8/feeds/'
},
# authorize path: /oauth/custom_provider
# authorize callback path: /oauth/custom_provider/callback
'custom_provider' => {
Expand Down

0 comments on commit e7d890e

Please sign in to comment.