Token.php:
$server->handleTokenRequest(OAuth2\Request::createFromGlobals())->send();
Command line:
curl -u testclient:testpass http://localhost/oauth2/token.php -d 'grant_type=client_credentials'
I am following this tutorial:
http://bshaffer.github.io/oauth2-server-php-docs/cookbook/
I am getting an error "Grant type was not specified"