{"action":"opened","issue":{"url":"https://api.github.com/repos/oauth-io/oauth-js/issues/73","labels_url":"https://api.github.com/repos/oauth-io/oauth-js/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/oauth-io/oauth-js/issues/73/comments","events_url":"https://api.github.com/repos/oauth-io/oauth-js/issues/73/events","html_url":"https://github.com/oauth-io/oauth-js/issues/73","id":104367112,"number":73,"title":"Could not retrieve methods TypeError: Cannot read property 'split' of undefined","user":{"login":"roosnic1","id":2340416,"avatar_url":"https://avatars.githubusercontent.com/u/2340416?v=3","gravatar_id":"","url":"https://api.github.com/users/roosnic1","html_url":"https://github.com/roosnic1","followers_url":"https://api.github.com/users/roosnic1/followers","following_url":"https://api.github.com/users/roosnic1/following{/other_user}","gists_url":"https://api.github.com/users/roosnic1/gists{/gist_id}","starred_url":"https://api.github.com/users/roosnic1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roosnic1/subscriptions","organizations_url":"https://api.github.com/users/roosnic1/orgs","repos_url":"https://api.github.com/users/roosnic1/repos","events_url":"https://api.github.com/users/roosnic1/events{/privacy}","received_events_url":"https://api.github.com/users/roosnic1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T22:27:12Z","updated_at":"2015-09-01T22:27:12Z","closed_at":null,"body":"Hi\r\n\r\nI have a default ember.js web app that was created with ember-cli.\r\n☮ ember -v\r\nversion: 1.13.8\r\nnode: 0.12.4\r\nnpm: 2.13.4\r\nos: darwin x64\r\n\r\nI installed OAuth.js with bower and include it in the app. I can call OAuth.initialize('xxx') with my public key without problems. When I call Auth.popup('twitter') a popup opens and I can login to my Twitter account and allow the application to access my data. But as soon as the popup closes the console shows the following error and neither the \"done\" nor the \"error\" callback gets called.\r\n\r\nCould not retrieve methods TypeError: Cannot read property 'split' of undefined\r\n    at Object.module.exports.generateMethods (http://localhost:4200/assets/vendor.js:90870:30)\r\n    at http://localhost:4200/assets/vendor.js:91264:17\r\n    at _fulfilled (http://localhost:4200/assets/vendor.js:96560:54)\r\n    at Promise.then.Q.nextTick.self.promiseDispatch.done (http://localhost:4200/assets/vendor.js:96589:30)\r\n    at Promise.promise.promiseDispatch (http://localhost:4200/assets/vendor.js:96522:13)\r\n    at http://localhost:4200/assets/vendor.js:96330:44\r\n    at runSingle (http://localhost:4200/assets/vendor.js:95863:13)\r\n    at MessagePort.flush (http://localhost:4200/assets/vendor.js:95851:13)\r\n\r\nAny ideas what is wrong?\r\n\r\nThanks."}}