{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/14","labels_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/14/comments","events_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/14/events","html_url":"https://github.com/feathersjs/feathers-authentication/issues/14","id":119621587,"number":14,"title":"Cannot authenticate","user":{"login":"dbkaplun","id":1765130,"avatar_url":"https://avatars.githubusercontent.com/u/1765130?v=3","gravatar_id":"","url":"https://api.github.com/users/dbkaplun","html_url":"https://github.com/dbkaplun","followers_url":"https://api.github.com/users/dbkaplun/followers","following_url":"https://api.github.com/users/dbkaplun/following{/other_user}","gists_url":"https://api.github.com/users/dbkaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/dbkaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbkaplun/subscriptions","organizations_url":"https://api.github.com/users/dbkaplun/orgs","repos_url":"https://api.github.com/users/dbkaplun/repos","events_url":"https://api.github.com/users/dbkaplun/events{/privacy}","received_events_url":"https://api.github.com/users/dbkaplun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-01T01:40:35Z","updated_at":"2015-12-01T03:49:08Z","closed_at":"2015-12-01T03:49:08Z","body":"Running with `DEBUG=feathers-authentication`, I can see \"feathers-authentication setting up feathers-authentication +0ms\" in the CLI output, but I don't see \"Got an Authorization token\" anywhere ([src/index.js:93](https://github.com/feathersjs/feathers-authentication/blob/0865a54f25db9ac233c4a86e1291cc92d4356f35/src/index.js#L93)). Also the `params` object only has an empty `query` object, no `user` property.\r\n\r\nRequest:\r\n```\r\nGET /api/streams/1 HTTP/1.1\r\nHost: localhost:4000\r\nauthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiZW1haWwiOiJhZG1pbkBleGFtcGxlLmNvbSIsImFkbWluIjowLCJjcmVhdGVkX2F0IjpudWxsLCJ1cGRhdGVkX2F0IjpudWxsLCJpYXQiOjE0NDg5MzM1NzcsImV4cCI6MTQ0ODk2OTU3N30.RpC2hOsg5seNJxbvosY6pBf1WC1zC9IC_An_I0ZCsTI\r\nCache-Control: no-cache\r\nPostman-Token: 31135068-0a30-96bf-02df-5f4b750479ef\r\n```"},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/comments/160844014","html_url":"https://github.com/feathersjs/feathers-authentication/issues/14#issuecomment-160844014","issue_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/14","id":160844014,"user":{"login":"dbkaplun","id":1765130,"avatar_url":"https://avatars.githubusercontent.com/u/1765130?v=3","gravatar_id":"","url":"https://api.github.com/users/dbkaplun","html_url":"https://github.com/dbkaplun","followers_url":"https://api.github.com/users/dbkaplun/followers","following_url":"https://api.github.com/users/dbkaplun/following{/other_user}","gists_url":"https://api.github.com/users/dbkaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/dbkaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbkaplun/subscriptions","organizations_url":"https://api.github.com/users/dbkaplun/orgs","repos_url":"https://api.github.com/users/dbkaplun/repos","events_url":"https://api.github.com/users/dbkaplun/events{/privacy}","received_events_url":"https://api.github.com/users/dbkaplun/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T03:49:08Z","updated_at":"2015-12-01T03:49:08Z","body":"You're absolutely right, I was instantiating the service before `.configure(feathersAuth())`. Nice catch!"}}