Skip to content

Commit

Permalink
Merge pull request #419 from leansoft/master
Browse files Browse the repository at this point in the history
Fixed scope delimiter for github
  • Loading branch information
elliotchance committed Sep 17, 2015
2 parents 24bc167 + f5aeb10 commit 824e138
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/OAuth/OAuth2/Service/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public function getDialogUri($dialogPath, array $parameters)
$query = http_build_query($parameters);
return new Uri($baseUrl . '?' . $query);
}

/**
* {@inheritdoc}
*/
Expand Down
8 changes: 8 additions & 0 deletions src/OAuth/OAuth2/Service/GitHub.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,12 @@ protected function getExtraApiHeaders()
{
return array('Accept' => 'application/vnd.github.beta+json');
}

/**
* {@inheritdoc}
*/
protected function getScopesDelimiter()
{
return ',';
}
}

0 comments on commit 824e138

Please sign in to comment.