Facebook Login Unsuccessful debug_token response from Facebook
See original GitHub issueWelcome 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:
- Created 6 years ago
- Comments:21 (1 by maintainers)
Top GitHub Comments
Solved it using this: https://stackoverflow.com/questions/23674131/android-facebook-integration-invalid-key-hash
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.