FirebaseUI-Android: Authentication hangs with FB and Google login

I’m using the AuthUI to login to an app I’m migrating to the new Firebase. The old login worked fine but the new one always stops with facebook or google.

Call: startActivityForResult( AuthUI.getInstance(FirebaseApp.getInstance()) .createSignInIntentBuilder() .setProviders( AuthUI.EMAIL_PROVIDER, AuthUI.GOOGLE_PROVIDER, AuthUI.FACEBOOK_PROVIDER) .build(), RC_SIGN_IN); The spinner spins forever and the Activity never finishes. Back doesn’t do anything. 2016-05-19 00 20 06

Using email works.

I have setup FB app id & secret in the firebase console. The app has been migrated to the new firebase SDK.

There’s no errors in console.

Let me know if I can help you debug somehow to get more info to solve the situation. I know this might have too little info to track the issue.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 26 (14 by maintainers)

Most upvoted comments

@Queskr the last response from @puf was directed at @JuhaniLehtimaeki’s earlier question about the firebase database console (see here). Sorry for the confusion, looks like we have two potentially distinct issues happening that are being covered in this same issue.

As for testing, yes, we tested FB / Google / Email Sign-in and account linking between them prior to this release. It’s interesting that you still see the error “InternalFirebaseAuth.FIREBASE_AUTH_API is not available on this device” despite having 9.0.83 of play services. I’ll speak to the engineers responsible for the Firebase v2 implementation in Play Services to see if they have any hypothesis as to why this would happen; I don’t think what you are seeing is a problem with FirebaseUI, but rather with the underlying Firebase APIs it is built upon. If you could email me direct so I have your contact details we may be able to get some additional information from our backend logs for your device and Firebase project ID.