question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Facebook Login Unsuccessful debug_token response from Facebook

See original GitHub issue

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a GitHub issue.
  • For general technical questions, post a question on StackOverflow tagged appropriately.
  • For general Firebase discussion, use the firebase-talk google group
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

  • Android device: Asus Zenfone 2
  • Android OS version: 6.0.1
  • Google Play Services version: 3.9.08
  • Firebase/Play Services SDK version: 10.2.1
  • FirebaseUI version: 1.2.0

Step 3: Describe the problem:

Login with email and google work fine. When i’m trying to login with facebook everything goes well (login in facebook app, accept base permissions) untile I come back to AuthUi page where I get the following error:

[...]W/AuthMethodPicker: Firebase sign in with credential unsuccessful
       com.google.firebase.FirebaseException: An internal error has occurred. [ Unsuccessful debug_token response from Facebook ]
       at com.google.android.gms.internal.zzblv.zzce(Unknown Source)
       at com.google.android.gms.internal.zzbls$zzj.zza(Unknown Source)
       at com.google.android.gms.internal.zzbmd.zzcf(Unknown Source)
       at com.google.android.gms.internal.zzbmd$zza.onFailure(Unknown Source)
       at com.google.android.gms.internal.zzbly$zza.onTransact(Unknown Source)
       at android.os.Binder.execTransact(Binder.java:453)
[...]E/CredentialSignInHandler: Unexpected exception when signing in with credential
       com.google.firebase.FirebaseException: An internal error has occurred. [ Unsuccessful debug_token response from Facebook ]
       at com.google.android.gms.internal.zzblv.zzce(Unknown Source)
       at com.google.android.gms.internal.zzbls$zzj.zza(Unknown Source)
       at com.google.android.gms.internal.zzbmd.zzcf(Unknown Source)
       at com.google.android.gms.internal.zzbmd$zza.onFailure(Unknown Source)
       at com.google.android.gms.internal.zzbly$zza.onTransact(Unknown Source)
       at android.os.Binder.execTransact(Binder.java:453)

Observed Results:

I’ve double checked the facebook app configuration, I’m using the right package (I’ve taken it from the AndroidManifest, as className I’m using “com.firebase.ui.auth.AuthUI” (I’ve tried also with the Activity that start the AuthUI istance), the hash key is good (The facebook login flow goes fine until the end)

Expected Results:

Sign in user with facebook

Relevant Code:

startActivityForResult(
                          AuthUI.getInstance()
                                  .createSignInIntentBuilder()
                                  .setIsSmartLockEnabled(!BuildConfig.DEBUG)
                                  .setProviders(Arrays.asList(new AuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(),
                                          new AuthUI.IdpConfig.Builder(AuthUI.GOOGLE_PROVIDER).build(),
                                          new AuthUI.IdpConfig.Builder(AuthUI.FACEBOOK_PROVIDER).build()))
                                  .build(),
                          RC_SIGN_IN);

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (1 by maintainers)

github_iconTop GitHub Comments

0reactions
google-oss-botcommented, Feb 2, 2022

Since there haven’t been any recent updates here, I am going to close this issue.

@DiegoBaldi if you’re still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facebook Login error : Unsuccessful debug_token response ...
The error that Firebase shows up is only "Unsuccessful debug_token response from Facebook" without any code or error message... I don't know ...
Read more >
Debugging & Errors - Facebook Login - Meta for Developers
This response is sent when a person logged out of your app or changed their password. ... The person will need to login...
Read more >
[Solved]-Unsuccessful debug_token response from Facebook
After several attempts, the problem was that if, for example, you have created an account with (email@example.com) and you log in with Facebook...
Read more >
Unsuccessful Debug_Token Response From Facebook
Unsuccessful Debug_Token Response From Facebook · 1 Open your firebase project in browser. · 2 Go to Authentication Section. · 3 Select Sign-In-Method....
Read more >
error_invalid_credential unsuccessful debug_token response from ...
Enable Facebook login in Firebase Console Screenshot But when you enable it, it will ask you to provide an App ID and App...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found