Token.php:
$服务器 - > handleTokenRequest(OAuth2用户\支持:: createFromGlobals()) - >置于();
命令行:
curl -u testclient:testpass http://localhost/oauth2/token.php -d 'grant_type = client_credentials'
我正在学习本教程:
http://bshaffer.github.io/oauth2-server-php-docs/cookbook/
我收到错误“未指定授权类型”