{"action":"created","issue":{"url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/161","labels_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/161/comments","events_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/161/events","html_url":"https://github.com/mkdynamic/omniauth-facebook/issues/161","id":38216058,"number":161,"title":"Could not authenticate you from Facebook because \"Invalid credentials\".","user":{"login":"jraczak","id":1156584,"avatar_url":"https://avatars.githubusercontent.com/u/1156584?v=3","gravatar_id":"","url":"https://api.github.com/users/jraczak","html_url":"https://github.com/jraczak","followers_url":"https://api.github.com/users/jraczak/followers","following_url":"https://api.github.com/users/jraczak/following{/other_user}","gists_url":"https://api.github.com/users/jraczak/gists{/gist_id}","starred_url":"https://api.github.com/users/jraczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraczak/subscriptions","organizations_url":"https://api.github.com/users/jraczak/orgs","repos_url":"https://api.github.com/users/jraczak/repos","events_url":"https://api.github.com/users/jraczak/events{/privacy}","received_events_url":"https://api.github.com/users/jraczak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-07-18T22:05:28Z","updated_at":"2015-12-09T21:44:15Z","closed_at":"2014-08-08T00:07:40Z","body":"I'm using a test app with a test user to test Facebook registration/login on my staging environment. I've verified that Heroku has the correct Facebook var values for the app. When initiating a Facebook registration, the callback is returned with the message \"Could not authenticate you from Facebook because \"Invalid credentials\".\"\r\n\r\nChecking the logs, I see the following output:\r\n\r\n`(facebook) Authentication failure! invalid_credentials: OAuth2::Error, :\r\n{\"error\":{\"message\":\"Error validating client secret.\",\"type\":\"OAuthException\",\"code\":1}}`\r\n\r\nFacebook auth does work locally using test users with a test app. I've googled around and checked all over SO but can't find a solution matching this error. "},"comment":{"url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/comments/163403619","html_url":"https://github.com/mkdynamic/omniauth-facebook/issues/161#issuecomment-163403619","issue_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/161","id":163403619,"user":{"login":"LuanGB","id":12295423,"avatar_url":"https://avatars.githubusercontent.com/u/12295423?v=3","gravatar_id":"","url":"https://api.github.com/users/LuanGB","html_url":"https://github.com/LuanGB","followers_url":"https://api.github.com/users/LuanGB/followers","following_url":"https://api.github.com/users/LuanGB/following{/other_user}","gists_url":"https://api.github.com/users/LuanGB/gists{/gist_id}","starred_url":"https://api.github.com/users/LuanGB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuanGB/subscriptions","organizations_url":"https://api.github.com/users/LuanGB/orgs","repos_url":"https://api.github.com/users/LuanGB/repos","events_url":"https://api.github.com/users/LuanGB/events{/privacy}","received_events_url":"https://api.github.com/users/LuanGB/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T21:44:15Z","updated_at":"2015-12-09T21:44:15Z","body":"Thank you very much..."}}