{"action":"created","issue":{"url":"https://api.github.com/repos/esbenp/lumen-api-oauth/issues/14","labels_url":"https://api.github.com/repos/esbenp/lumen-api-oauth/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/esbenp/lumen-api-oauth/issues/14/comments","events_url":"https://api.github.com/repos/esbenp/lumen-api-oauth/issues/14/events","html_url":"https://github.com/esbenp/lumen-api-oauth/issues/14","id":103462867,"number":14,"title":"null from $response @ Proxy.php","user":{"login":"janareit","id":9429173,"avatar_url":"https://avatars.githubusercontent.com/u/9429173?v=3","gravatar_id":"","url":"https://api.github.com/users/janareit","html_url":"https://github.com/janareit","followers_url":"https://api.github.com/users/janareit/followers","following_url":"https://api.github.com/users/janareit/following{/other_user}","gists_url":"https://api.github.com/users/janareit/gists{/gist_id}","starred_url":"https://api.github.com/users/janareit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janareit/subscriptions","organizations_url":"https://api.github.com/users/janareit/orgs","repos_url":"https://api.github.com/users/janareit/repos","events_url":"https://api.github.com/users/janareit/events{/privacy}","received_events_url":"https://api.github.com/users/janareit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-27T09:07:43Z","updated_at":"2015-09-30T12:14:26Z","closed_at":null,"body":"Any idea why I get ```null``` to my ```$response``` at Proxy.php?\r\n\r\n```\r\nErrorException in Proxy.php line 46:\r\nFirst parameter must either be an object or the name of an existing class\r\nin Proxy.php line 46\r\nat Application->Laravel\\Lumen\\{closure}('2', 'First parameter must either be an object or the name of an existing class', '/Volumes/E/Sites/sso/app/Auth/Proxy.php', '46', array('grantType' => 'password', 'data' => array('client_id' => '1', 'client_secret' => 'gKYG75sw', 'grant_type' => 'password', 'username' => 'user@user.com', 'password' => '1234'), 'config' => object(Repository), 'client' => object(Client), 'guzzleResponse' => object(Response), 'response' => null))\r\nat property_exists(null, 'access_token') in Proxy.php line 46\r\nat Proxy->proxy('password', array('username' => 'user@user.com', 'password' => '1234')) in Proxy.php line 11\r\nat Proxy->attemptLogin(array('username' => 'user@user.com', 'password' => '1234')) in routes.php line 20\r\nat Closure->{closure}()\r\nat call_user_func_array(object(Closure), array()) in Container.php line 502\r\nat Container->call(object(Closure), array()) in Application.php line 1263\r\nat Application->callActionOnArrayBasedRoute(array(true, array(object(Closure)), array())) in Application.php line 1237\r\nat Application->handleFoundRoute(array(true, array(object(Closure)), array())) in Application.php line 1158\r\nat Application->Laravel\\Lumen\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 139\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37\r\nat AddQueuedCookiesToResponse->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in OAuthExceptionHandlerMiddleware.php line 19\r\nat OAuthExceptionHandlerMiddleware->handle(object(Request), object(Closure))\r\nat call_user_func_array(array(object(OAuthExceptionHandlerMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 103\r\nat Pipeline->then(object(Closure)) in Application.php line 1387\r\nat Application->sendThroughPipeline(array('LucaDegasperi\\OAuth2Server\\Middleware\\OAuthExceptionHandlerMiddleware', 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse'), object(Closure)) in Application.php line 1164\r\nat Application->dispatch(null) in Application.php line 1104\r\nat Application->run() in index.php line 28\r\n```"},"comment":{"url":"https://api.github.com/repos/esbenp/lumen-api-oauth/issues/comments/144377014","html_url":"https://github.com/esbenp/lumen-api-oauth/issues/14#issuecomment-144377014","issue_url":"https://api.github.com/repos/esbenp/lumen-api-oauth/issues/14","id":144377014,"user":{"login":"manish-shrivastava","id":988558,"avatar_url":"https://avatars.githubusercontent.com/u/988558?v=3","gravatar_id":"","url":"https://api.github.com/users/manish-shrivastava","html_url":"https://github.com/manish-shrivastava","followers_url":"https://api.github.com/users/manish-shrivastava/followers","following_url":"https://api.github.com/users/manish-shrivastava/following{/other_user}","gists_url":"https://api.github.com/users/manish-shrivastava/gists{/gist_id}","starred_url":"https://api.github.com/users/manish-shrivastava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manish-shrivastava/subscriptions","organizations_url":"https://api.github.com/users/manish-shrivastava/orgs","repos_url":"https://api.github.com/users/manish-shrivastava/repos","events_url":"https://api.github.com/users/manish-shrivastava/events{/privacy}","received_events_url":"https://api.github.com/users/manish-shrivastava/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T12:14:26Z","updated_at":"2015-09-30T12:14:26Z","body":"@prashantidealittechno try once like below:\r\n<img width=\"916\" alt=\"auth-api-test-5\" src=\"https://cloud.githubusercontent.com/assets/988558/10192563/deab8fde-679a-11e5-967b-ae13d529de3c.png\">\r\n"}}