{"action":"created","issue":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/550","labels_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/550/comments","events_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/550/events","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/550","id":106475805,"number":550,"title":"Authorizer Facade not working?","user":{"login":"chakkimatti","id":1632491,"avatar_url":"https://avatars.githubusercontent.com/u/1632491?v=3","gravatar_id":"","url":"https://api.github.com/users/chakkimatti","html_url":"https://github.com/chakkimatti","followers_url":"https://api.github.com/users/chakkimatti/followers","following_url":"https://api.github.com/users/chakkimatti/following{/other_user}","gists_url":"https://api.github.com/users/chakkimatti/gists{/gist_id}","starred_url":"https://api.github.com/users/chakkimatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakkimatti/subscriptions","organizations_url":"https://api.github.com/users/chakkimatti/orgs","repos_url":"https://api.github.com/users/chakkimatti/repos","events_url":"https://api.github.com/users/chakkimatti/events{/privacy}","received_events_url":"https://api.github.com/users/chakkimatti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/labels/support","name":"support","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"vinkla","id":499192,"avatar_url":"https://avatars.githubusercontent.com/u/499192?v=3","gravatar_id":"","url":"https://api.github.com/users/vinkla","html_url":"https://github.com/vinkla","followers_url":"https://api.github.com/users/vinkla/followers","following_url":"https://api.github.com/users/vinkla/following{/other_user}","gists_url":"https://api.github.com/users/vinkla/gists{/gist_id}","starred_url":"https://api.github.com/users/vinkla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinkla/subscriptions","organizations_url":"https://api.github.com/users/vinkla/orgs","repos_url":"https://api.github.com/users/vinkla/repos","events_url":"https://api.github.com/users/vinkla/events{/privacy}","received_events_url":"https://api.github.com/users/vinkla/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-09-15T04:28:04Z","updated_at":"2015-09-15T08:35:22Z","closed_at":null,"body":"I'm on Laravel 4.2 and I have the correct lines added to the config/app.php as to per L4 installation doc. When I do \r\n\tRoute::get('oauth/authorize', ['as' => 'oauth.authorize.get','middleware' => ['check-authorization-params', 'auth'], function ()\r\n    {\r\n\t    Log::info('YABADABAD\\'OH!');\r\n\t    Log::info(var_dump(Session::get('authorization-params') ));\r\n\t    // display a form where the user can authorize the client to access it's data\r\n\t   $authParams = Authorizer::getAuthCodeRequestParams();\r\n\t   \t    Log::info(var_dump($authParams ));\r\n\t   $formParams = array_except($authParams,'client');\r\n\t   $formParams['client_id'] = $authParams['client']->getId();\r\n\t   return View::make('auth-form', ['params'=>$formParams,'client'=>$authParams['client']]);\r\n\t\r\n    }\r\nthe Authorizer::getAuthCodeRequestParams() returns an empty array. When doing the query Postman, I get 'undefined index client'.\r\nI'm using grant_type 'authorization_code' I've tried doing the query with client, with remember_token and without. My 'auth' filter looks like this:\r\nRoute::filter('auth', function()\r\n{\r\n\t$token = Input::get('remember_token');\r\n\t$user = User::where('remember_token', $token)->first();\r\n\tif( !$token || !$user ) {\r\n\t\treturn Response::json([ 'error' => 'invalid-token',  'code' => 401 ]);\r\n\t}\r\n\tAuth::login($user);\r\n\tApp::setLocale($user->locale);\r\n});"},"comment":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/comments/140321416","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/550#issuecomment-140321416","issue_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/550","id":140321416,"user":{"login":"vinkla","id":499192,"avatar_url":"https://avatars.githubusercontent.com/u/499192?v=3","gravatar_id":"","url":"https://api.github.com/users/vinkla","html_url":"https://github.com/vinkla","followers_url":"https://api.github.com/users/vinkla/followers","following_url":"https://api.github.com/users/vinkla/following{/other_user}","gists_url":"https://api.github.com/users/vinkla/gists{/gist_id}","starred_url":"https://api.github.com/users/vinkla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinkla/subscriptions","organizations_url":"https://api.github.com/users/vinkla/orgs","repos_url":"https://api.github.com/users/vinkla/repos","events_url":"https://api.github.com/users/vinkla/events{/privacy}","received_events_url":"https://api.github.com/users/vinkla/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T08:35:22Z","updated_at":"2015-09-15T08:35:22Z","body":"Could you please cleanup your initial issue and then I can't take a look at that."}}