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
parent
754250d3af
commit
2e896998c2
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue