{"action":"closed","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/772","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/772/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/772/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/772","id":115660467,"number":772,"title":"You are trying to use the torii authenticator but torii is not available","user":{"login":"wayne-o","id":178060,"avatar_url":"https://avatars.githubusercontent.com/u/178060?v=3","gravatar_id":"","url":"https://api.github.com/users/wayne-o","html_url":"https://github.com/wayne-o","followers_url":"https://api.github.com/users/wayne-o/followers","following_url":"https://api.github.com/users/wayne-o/following{/other_user}","gists_url":"https://api.github.com/users/wayne-o/gists{/gist_id}","starred_url":"https://api.github.com/users/wayne-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayne-o/subscriptions","organizations_url":"https://api.github.com/users/wayne-o/orgs","repos_url":"https://api.github.com/users/wayne-o/repos","events_url":"https://api.github.com/users/wayne-o/events{/privacy}","received_events_url":"https://api.github.com/users/wayne-o/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-07T11:40:09Z","updated_at":"2015-11-19T09:21:50Z","closed_at":"2015-11-19T09:21:50Z","body":"The following results in:\r\n\r\n```\r\nYou are trying to use the torii authenticator but torii is not available. Inject torii into the authenticator with \"torii: Ember.inject.service()\".\r\n``` \r\n\r\nBut I have injected the torii service?\r\n\r\n```\r\nimport Torii from 'ember-simple-auth/authenticators/torii';\r\nimport Ember from 'ember';\r\n\r\nexport default Torii.extend({\r\n\ttorii: Ember.inject.service(),\r\n\trestore(data) {\r\n\r\n\t\t},\r\n\t\tauthenticate(provider, options) {\r\n\t\t\treturn new Ember.RSVP.Promise((resolve, reject) => {\r\n\t\t\t\treturn this._super(provider, options)\r\n\t\t\t\t\t.then((authResponse) => {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\tinvalidate() {\r\n\r\n\t\t}\r\n});\r\n```"}}