FirebaseUI Auth - Facebook Login error : Unsuccessful debug_token response from Facebook

天大地大妈咪最大 提交于 2019-12-05 02:02:15

I have the same problem, the facebook auth on firebase was enabled but pointing to another application id that is different with one I am working on.

So need to make sure the application id from "firebase console/ authentication/ sign in method/ facebook" is the same with application id on your facebook console.

I took me several hours to figure out, hope it useful.

Go to Facebook developers page and select your app from the dropdown menu. Then go to Settings -> Advanced and find Is App Secret embedded in the client? select No from the toggle button and done. Refer this image link if you face any difficulty finding the option. Facebook Login error : Unsuccessful debug_token response from Facebook

I had the same problem and resolved it after re-checking the App Secret on the top right of the screen at Facebook developers page. Make sure the App Secret in Firebase Authentication(Facebook Provider) is the same as the app secret in Facebook developers page.

App secret on Facebook developers

You need to check the both: App secret and App ID from the Facebook developers page and Firebase Authentication (Facebook Provider), because Firebase by default has his own ids

I had the same problem and couldn't figure it out for hours. It is most likely a wrong App-ID within your firebase auth configuration (facebook). In my case, I had entered the bundle name of my app instead of the App-ID of facebook. Hope it helps.

app configuration within firebase console

For me, resetting the App Secret did the trick. Go to Settings --> Basic and then click 'Reset' beside your 'App Secret'

I didn't have the switch toggled saying "Yes" to "Is this a native or desktop app". I then re-entered the app secret in Firebase and made sure to add the OAuth Redirect URI to the Facebook app.

make sure this is correct with facebook dev page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!