{"action":"created","issue":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/795","labels_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/795/comments","events_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/795/events","html_url":"https://github.com/RESTful-Drupal/restful/issues/795","id":122126329,"number":795,"title":"website.com/admin/index is requiring authentication?","user":{"login":"EvWill","id":5597954,"avatar_url":"https://avatars.githubusercontent.com/u/5597954?v=3","gravatar_id":"","url":"https://api.github.com/users/EvWill","html_url":"https://github.com/EvWill","followers_url":"https://api.github.com/users/EvWill/followers","following_url":"https://api.github.com/users/EvWill/following{/other_user}","gists_url":"https://api.github.com/users/EvWill/gists{/gist_id}","starred_url":"https://api.github.com/users/EvWill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvWill/subscriptions","organizations_url":"https://api.github.com/users/EvWill/orgs","repos_url":"https://api.github.com/users/EvWill/repos","events_url":"https://api.github.com/users/EvWill/events{/privacy}","received_events_url":"https://api.github.com/users/EvWill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-14T20:40:38Z","updated_at":"2015-12-14T21:30:39Z","closed_at":null,"body":"I created a class that extends the Authentication class, and now I can't access admin/index unless I provide the key in the URL. I'm not sure if this is a bug or if I have done something horribly wrong. Thanks.\r\n\r\n    class KeyAuthentication extends Authentication {\r\n\r\n      public function applies(RequestInterface $request) {\r\n        $input = $request->getParsedInput();\r\n\r\n        if($this->requestHasCorrectKey($input)) {\r\n            return true;\r\n        } else {\r\n            throw new ForbiddenException;\r\n        }\r\n      }\r\n\r\n      public function authenticate(RequestInterface $request) {}\r\n\r\n      private function requestHasCorrectKey($input) {\r\n        return ((isset($input['key']))&&($input['key'] == 'TESTKEY'));\r\n      }"},"comment":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/comments/164565795","html_url":"https://github.com/RESTful-Drupal/restful/issues/795#issuecomment-164565795","issue_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/795","id":164565795,"user":{"login":"e0ipso","id":1140906,"avatar_url":"https://avatars.githubusercontent.com/u/1140906?v=3","gravatar_id":"","url":"https://api.github.com/users/e0ipso","html_url":"https://github.com/e0ipso","followers_url":"https://api.github.com/users/e0ipso/followers","following_url":"https://api.github.com/users/e0ipso/following{/other_user}","gists_url":"https://api.github.com/users/e0ipso/gists{/gist_id}","starred_url":"https://api.github.com/users/e0ipso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e0ipso/subscriptions","organizations_url":"https://api.github.com/users/e0ipso/orgs","repos_url":"https://api.github.com/users/e0ipso/repos","events_url":"https://api.github.com/users/e0ipso/events{/privacy}","received_events_url":"https://api.github.com/users/e0ipso/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T21:30:38Z","updated_at":"2015-12-14T21:30:38Z","body":"Have you tried the `restful_access_token` submodule? Is that causing the same issue?"}}