{"action":"created","issue":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/225","labels_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/225/comments","events_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/225/events","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/225","id":47863323,"number":225,"title":"issueAccessToken() not receiving request parameters","user":{"login":"kknoer","id":1834014,"avatar_url":"https://avatars.githubusercontent.com/u/1834014?v=3","gravatar_id":"","url":"https://api.github.com/users/kknoer","html_url":"https://github.com/kknoer","followers_url":"https://api.github.com/users/kknoer/followers","following_url":"https://api.github.com/users/kknoer/following{/other_user}","gists_url":"https://api.github.com/users/kknoer/gists{/gist_id}","starred_url":"https://api.github.com/users/kknoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kknoer/subscriptions","organizations_url":"https://api.github.com/users/kknoer/orgs","repos_url":"https://api.github.com/users/kknoer/repos","events_url":"https://api.github.com/users/kknoer/events{/privacy}","received_events_url":"https://api.github.com/users/kknoer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-11-05T17:23:45Z","updated_at":"2015-10-13T20:17:19Z","closed_at":"2014-11-11T07:21:37Z","body":"I have a method on my OAuthController like so that responds to a route POST oauth/access_token:\r\n\r\n    public function postAccessToken()\r\n    {\r\n        return Response::json($this->authorizer->issueAccessToken());\r\n    }\r\n\r\nWhenever that route gets hit with the correct parameters, it returns: \r\n\r\n    {\r\n        \"error\": \"invalid_request\",\r\n        \"error_description\": \"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the \\\"grant_type\\\" parameter.\"\r\n    }\r\n\r\nI am using the authorization_code grant type and the authorization codes are successfully being created (in another method on this controller).  I used the sample controller artisan command and I am using version 3.* with Laravel 4.2.9\r\n\r\nI went into the AuthorizationServer.php file, into the issueAccessToken() method and dd($grantType); and it returns null.  I also tried to dd() other parameters, they are all also null.  If I try to dd() the grant type from the Authorizer object in the controller, the parameters are set there.\r\n\r\nAny advice here?"},"comment":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/comments/147839789","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/225#issuecomment-147839789","issue_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/225","id":147839789,"user":{"login":"javihego23","id":1805907,"avatar_url":"https://avatars.githubusercontent.com/u/1805907?v=3","gravatar_id":"","url":"https://api.github.com/users/javihego23","html_url":"https://github.com/javihego23","followers_url":"https://api.github.com/users/javihego23/followers","following_url":"https://api.github.com/users/javihego23/following{/other_user}","gists_url":"https://api.github.com/users/javihego23/gists{/gist_id}","starred_url":"https://api.github.com/users/javihego23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javihego23/subscriptions","organizations_url":"https://api.github.com/users/javihego23/orgs","repos_url":"https://api.github.com/users/javihego23/repos","events_url":"https://api.github.com/users/javihego23/events{/privacy}","received_events_url":"https://api.github.com/users/javihego23/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T20:17:19Z","updated_at":"2015-10-13T20:17:19Z","body":"@playnox  Its work for me, thanks..."}}