{"action":"closed","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/280","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/280/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/280/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/280","id":91302840,"number":280,"title":"No route matches [GET] \"/users/facebook/callback\"","user":{"login":"JoshuaNovak919","id":334437,"avatar_url":"https://avatars.githubusercontent.com/u/334437?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaNovak919","html_url":"https://github.com/JoshuaNovak919","followers_url":"https://api.github.com/users/JoshuaNovak919/followers","following_url":"https://api.github.com/users/JoshuaNovak919/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaNovak919/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaNovak919/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaNovak919/subscriptions","organizations_url":"https://api.github.com/users/JoshuaNovak919/orgs","repos_url":"https://api.github.com/users/JoshuaNovak919/repos","events_url":"https://api.github.com/users/JoshuaNovak919/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaNovak919/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-26T17:07:29Z","updated_at":"2015-07-29T20:56:26Z","closed_at":"2015-07-29T20:56:26Z","body":"When I try to login with omniauth using facebook I get the following error:\r\n\r\n`No route matches [GET] \"/users/facebook/callback\"`\r\n\r\nDo I need to define the callback somewhere?\r\n\r\nMy routes:\r\n\r\n```\r\ndevise_for :users, controllers: { registrations: \"users/registrations\", sessions: 'users/sessions' }\r\n  devise_scope :user do\r\n   root :to => 'devise/sessions#new'\r\n  end\r\n  \r\n  # Api name space\r\n  namespace :api, defaults: { :format => 'json' } do\r\n    namespace :v1 do\r\n      mount_devise_token_auth_for 'User', at: 'auth'\r\n    end\r\n  end\r\nend\r\n```"}}