{"action":"opened","issue":{"url":"https://api.github.com/repos/dukt/craft-oauth/issues/19","repository_url":"https://api.github.com/repos/dukt/craft-oauth","labels_url":"https://api.github.com/repos/dukt/craft-oauth/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/dukt/craft-oauth/issues/19/comments","events_url":"https://api.github.com/repos/dukt/craft-oauth/issues/19/events","html_url":"https://github.com/dukt/craft-oauth/issues/19","id":140446812,"number":19,"title":"Fatal error when connecting","user":{"login":"brianespinosa","id":1161781,"avatar_url":"https://avatars.githubusercontent.com/u/1161781?v=3","gravatar_id":"","url":"https://api.github.com/users/brianespinosa","html_url":"https://github.com/brianespinosa","followers_url":"https://api.github.com/users/brianespinosa/followers","following_url":"https://api.github.com/users/brianespinosa/following{/other_user}","gists_url":"https://api.github.com/users/brianespinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/brianespinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianespinosa/subscriptions","organizations_url":"https://api.github.com/users/brianespinosa/orgs","repos_url":"https://api.github.com/users/brianespinosa/repos","events_url":"https://api.github.com/users/brianespinosa/events{/privacy}","received_events_url":"https://api.github.com/users/brianespinosa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-13T04:38:19Z","updated_at":"2016-03-13T04:38:19Z","closed_at":null,"body":"Hello,\r\n\r\nThanks for the great plugins. I am getting ready to create open source, custom oauth providers for a few other services that can with with craft-oauth. The first is (craft-spotify)[https://github.com/brianespinosa/craft-spotify] which I ended up forking from craft-github (as you'll see).\r\n\r\nI am using this in conjunction with your beta of REST. The error I am getting when I try to connect is `Fatal error: Class 'League\\OAuth2\\Client\\Provider\\Spotify' not found` with reference to the local providers file in the plugin. Is this issue a possible bug within REST? Something maybe I have not set up correctly with the custom provider?\r\n\r\nOnce I get this ironed out, would you be interested in me creating a PR with a markdown document that lists other custom oauth providers that can be dropped into craft-oauth?"}}