Skip to content

Commit

Permalink
Merge pull request #141 from mnapoli/patch-1
Browse files Browse the repository at this point in the history
Added `scopes` in the README example
  • Loading branch information
philsturgeon committed Oct 20, 2014
2 parents 47d9447 + b7bc1ad commit 72a4046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ The following versions of PHP are supported.
$provider = new League\OAuth2\Client\Provider\<ProviderName>(array(
'clientId' => 'XXXXXXXX',
'clientSecret' => 'XXXXXXXX',
'redirectUri' => 'https://your-registered-redirect-uri/'
'redirectUri' => 'https://your-registered-redirect-uri/',
'scopes' => array('email', '...', '...'),
));

if ( ! isset($_GET['code'])) {
Expand Down

0 comments on commit 72a4046

Please sign in to comment.