Rails Devise Omniauth Facebook Client Token -
i'm having issues getting saving facebook login database. i'm getting error in browser.
could not authenticate facebook because "invalid credentials".
and error in terminal. ideas? i've been browsing 2 days , it's possible facebook api has changed. lead app isn't using client token @ all.
and don't know how debug user nil or not. appreciated. thanks.
started "/users/auth/facebook/callback code=aqcdbzac0nk6ys9_ynebsvnzrc9tqwwqbgolxpu2ztnsxjp9nzecvkdgfqe71gxttv86_ uc5mhktzb4fbzinldead0ffakdu3h-v7ymmyy_kctrjxqtpucd-gnblaiozdyq3klhnxe3nzwbcrsxwf_effc4kguu8ww9sgds906-w6lfppl4e78iudefs9d-lhxgp_qa3_oubfcg2feiiykmgyioqig_-9pwhgdrh_wt8qfyemn1qtkbuwe173ui-eodfrfgbtzvbbjm-u8n4rqefx6gqgynldmma9gzxrvpuz7cbec1okzuqtgtaagz-kmmw0rnxgp81nwcvgqspsx1o&state=c8957c4caba73271f3ed9a083412aa995afebf1ba2e63f50" 127.0.0.1 @ 2016-02-27 22:11:16 -0800 i, [2016-02-27t22:11:16.190167 #9991] info -- omniauth: (facebook) callback phase initiated. e, [2016-02-27t22:11:16.350628 #9991] error -- omniauth: (facebook) authentication failure! invalid_credentials: oauth2::error, : {"error":{"message":"the request invalid because app configured desktop app","type":"oauthexception","code":1,"fbtrace_id":"gwdvbecdl0k"}} processing devise::omniauthcallbackscontroller#failure html parameters: {"code"=>"aqcdbzac0nk6ys9_ynebsvnzrc9tqwwqbgolxpu2ztnsxjp9nzecvkdgfqe71gxttv86_uc5mhktzb4fbzinldead0ffakdu3h-v7ymmyy_kctrjxqtpucd-gnblaiozdyq3klhnxe3nzwbcrsxwf_effc4kguu8ww9sgds906-w6lfppl4e78iudefs9d-lhxgp_qa3_oubfcg2feiiykmgyioqig_-9pwhgdrh_wt8qfyemn1qtkbuwe173ui-eodfrfgbtzvbbjm-u8n4rqefx6gqgynldmma9gzxrvpuz7cbec1okzuqtgtaagz-kmmw0rnxgp81nwcvgqspsx1o", "state"=>"c8957c4caba73271f3ed9a083412aa995afebf1ba2e63f50"} redirected http://localhost:3000/users/sign_in
completed 302 found in 211ms (activerecord: 0.0ms)
my guess
1. used improper credentials facebook developer api
2. facebook login failed since entered invalid email id or password.
Comments
Post a Comment