{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/466","labels_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/466/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/466/events","html_url":"https://github.com/thephpleague/oauth2-client/issues/466","id":118226169,"number":466,"title":"PrepareAccessTokenResponse must be of the type array error","user":{"login":"mandado","id":2823627,"avatar_url":"https://avatars.githubusercontent.com/u/2823627?v=3","gravatar_id":"","url":"https://api.github.com/users/mandado","html_url":"https://github.com/mandado","followers_url":"https://api.github.com/users/mandado/followers","following_url":"https://api.github.com/users/mandado/following{/other_user}","gists_url":"https://api.github.com/users/mandado/gists{/gist_id}","starred_url":"https://api.github.com/users/mandado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandado/subscriptions","organizations_url":"https://api.github.com/users/mandado/orgs","repos_url":"https://api.github.com/users/mandado/repos","events_url":"https://api.github.com/users/mandado/events{/privacy}","received_events_url":"https://api.github.com/users/mandado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-21T22:57:19Z","updated_at":"2015-11-22T00:15:24Z","closed_at":null,"body":"I trying authenticate with oauth2-client, and give this error \r\n```\r\n Catchable fatal error: Argument 1 passed to League\\OAuth2\\Client\\Provider\\AbstractProvider::prepareAccessTokenResponse() must be of the type array, string given, called in C:\\wamp\\www\\stackexchange\\vendor\\league\\oauth2-client\\src\\Provider\\AbstractProvider.php on line 540 and defined in C:\\wamp\\www\\stackexchange\\vendor\\league\\oauth2-client\\src\\Provider\\AbstractProvider.php on line 711\r\n````\r\n\r\nThe code that i used is same of first example in this repository.\r\nIs a bug ? how i can to solve this ?"},"comment":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/comments/158693553","html_url":"https://github.com/thephpleague/oauth2-client/issues/466#issuecomment-158693553","issue_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/466","id":158693553,"user":{"login":"mandado","id":2823627,"avatar_url":"https://avatars.githubusercontent.com/u/2823627?v=3","gravatar_id":"","url":"https://api.github.com/users/mandado","html_url":"https://github.com/mandado","followers_url":"https://api.github.com/users/mandado/followers","following_url":"https://api.github.com/users/mandado/following{/other_user}","gists_url":"https://api.github.com/users/mandado/gists{/gist_id}","starred_url":"https://api.github.com/users/mandado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandado/subscriptions","organizations_url":"https://api.github.com/users/mandado/orgs","repos_url":"https://api.github.com/users/mandado/repos","events_url":"https://api.github.com/users/mandado/events{/privacy}","received_events_url":"https://api.github.com/users/mandado/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T00:15:24Z","updated_at":"2015-11-22T00:15:24Z","body":"@rtheunissen  i use GenericProvider."}}