When sending an request to get an Access Token to Eventbrite you also have to send 'grant_type with value of authorization_code'.

Not really sure how to document this?
1.0
James Mills 2014-02-04 10:06:43 +04:00
parent 754250d3af
commit 2e896998c2
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if ( ! isset($_GET['code'])) {
try {
// Try to get an access token (using the authorization code grant)
$t = $provider->getAccessToken('authorization_code', array('code' => $_GET['code']));
$t = $provider->getAccessToken('authorization_code', array('code' => $_GET['code'], 'grant_type' => 'authorization_code'));
try {