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.

Authentication hangs with FB and Google login

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
iainmcgincommented, May 19, 2016

@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.

0reactions
edwoollardcommented, Oct 7, 2016

I was using 0.5.3. Updated to 0.6.0 and it fixed it though. Thank you, @samtstern!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication using Facebook at first and then Google ...
Go to Authentication > Sign-in providers, click Multiple accounts per email address and Allow creation of multiple accounts with the same ...
Read more >
Here's What To Do If You Lose Access To Your Facebook ...
To do this (on Android) tap your face in the upper left-hand corner -> Scroll down to 'account settings' -> tap on 'security...
Read more >
How to Resolve Facebook Two-Factor Authentication not ...
Read on to explore the various ways by which you can resolve when the two-factor authentication of Facebook stops working.
Read more >
Can't sign in from a third-party service - Google Account Help
A general error that your sign-in was unsuccessful. · The service you're signing in from doesn't provide enough information to prove it's you....
Read more >
Facebook 2FA is stuck in a loop and I have tried everything I ...
hyperlink under the login screen which takes the user to a broken link ... Now i got SMS/Google Auth/FB Code generator and the...
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