{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/generator-feathers/issues/75","repository_url":"https://api.github.com/repos/feathersjs/generator-feathers","labels_url":"https://api.github.com/repos/feathersjs/generator-feathers/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/generator-feathers/issues/75/comments","events_url":"https://api.github.com/repos/feathersjs/generator-feathers/issues/75/events","html_url":"https://github.com/feathersjs/generator-feathers/issues/75","id":141634738,"number":75,"title":"How to login with facebook","user":{"login":"catalinmiron","id":2805320,"avatar_url":"https://avatars.githubusercontent.com/u/2805320?v=3","gravatar_id":"","url":"https://api.github.com/users/catalinmiron","html_url":"https://github.com/catalinmiron","followers_url":"https://api.github.com/users/catalinmiron/followers","following_url":"https://api.github.com/users/catalinmiron/following{/other_user}","gists_url":"https://api.github.com/users/catalinmiron/gists{/gist_id}","starred_url":"https://api.github.com/users/catalinmiron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalinmiron/subscriptions","organizations_url":"https://api.github.com/users/catalinmiron/orgs","repos_url":"https://api.github.com/users/catalinmiron/repos","events_url":"https://api.github.com/users/catalinmiron/events{/privacy}","received_events_url":"https://api.github.com/users/catalinmiron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-17T16:27:51Z","updated_at":"2016-03-17T20:58:56Z","closed_at":null,"body":"Hi guys,\r\n\r\nI made the `local` strategy but now I want to use `Facebook` strategy.\r\n\r\nI added the facebook login, clientId, clientSecret in place and when I'm going to `localhost:3030/auth/facebook` the callback now has the access_token `http://localhost:3030/auth/facebook/callback?code=generated_code&state=true#_=_` but I'm not logged in the app.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2805320/13853021/87664392-ec6d-11e5-80c4-b70aae186cdf.png)\r\n\r\n\r\n__terminal output__\r\n\r\n```bash\r\nFeathers application started on localhost:3030\r\nerror: (400) Route: /auth/facebook/callback?code=generated_code&state=true - user validation failed\r\ninfo: BadRequest: user validation failed\r\n    at Object.construct (/user/feathers-test/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.construct.js:22:24)\r\n    at BadRequest.ExtendableBuiltin (/user/feathers-test/node_modules/feathers-errors/lib/index.js:21:28)\r\n    at BadRequest.FeathersError (/user/feathers-test/node_modules/feathers-errors/lib/index.js:99:87)\r\n    at new BadRequest (/user/feathers-test/node_modules/feathers-errors/lib/index.js:139:79)\r\n    at errorHandler (/user/feathers-test/node_modules/feathers-mongoose/lib/error-handler.js:23:25)\r\n    at run (/user/feathers-test/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:89:22)\r\n    at /user/feathers-test/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:102:28\r\n    at flush (/user/feathers-test/node_modules/babel-cli/node_modules/babel-polyfill/node_modules/core-js/modules/_microtask.js:14:5)\r\n    at doNTCallback0 (node.js:408:9)\r\n    at process._tickDomainCallback (node.js:378:13)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/feathersjs/generator-feathers/issues/comments/198079969","html_url":"https://github.com/feathersjs/generator-feathers/issues/75#issuecomment-198079969","issue_url":"https://api.github.com/repos/feathersjs/generator-feathers/issues/75","id":198079969,"user":{"login":"catalinmiron","id":2805320,"avatar_url":"https://avatars.githubusercontent.com/u/2805320?v=3","gravatar_id":"","url":"https://api.github.com/users/catalinmiron","html_url":"https://github.com/catalinmiron","followers_url":"https://api.github.com/users/catalinmiron/followers","following_url":"https://api.github.com/users/catalinmiron/following{/other_user}","gists_url":"https://api.github.com/users/catalinmiron/gists{/gist_id}","starred_url":"https://api.github.com/users/catalinmiron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalinmiron/subscriptions","organizations_url":"https://api.github.com/users/catalinmiron/orgs","repos_url":"https://api.github.com/users/catalinmiron/repos","events_url":"https://api.github.com/users/catalinmiron/events{/privacy}","received_events_url":"https://api.github.com/users/catalinmiron/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T20:58:56Z","updated_at":"2016-03-17T20:58:56Z","body":"So your setup is using the default boierplate that `yo feathers` generates with MongoDB and Facebook login?"}}