Firebase SDK 3 auth signinwithpop auth/popup-closed-by-user error - AngularJS

685 views
Skip to first unread message

Karthik Sekar

unread,
Jun 7, 2016, 5:54:28 PM6/7/16
to Firebase Google Group
Hi Guys,

I recently upgraded to Firebase 3 for my AngularJS app.
I am not using Angularfire as it still doesn't support Firebase 3.0

I used the web client Firebase initiate snippet.
Using firebase 3.0.0 from npm.

I am using signinwithPopup auth method with Facebook Auth Provider.

I tried this on both Chrome and firefox, the app triggers the auth popup with the progress bar and after sometime popup closes automatically,
I didn't close the popup and popup was not blocked by my browser.
 
After some delay i get the error message auth/popup-closed-by-user from the error callback

Jacob Wenger

unread,
Jun 7, 2016, 7:19:13 PM6/7/16
to fireba...@googlegroups.com
AngularFire 2.x.x was released last week with support for the Firebase 3.x.x SDK. I'd suggest using that. Otherwise, please provide a repro in JSFiddle or Plunkr so we can help you debug.

Jacob
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/187c2d35-b1c9-43ce-99c2-7198818a7363%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bassam Ojeil

unread,
Jun 8, 2016, 6:07:18 PM6/8/16
to Firebase Google Group
Hey Karthik,
Try using the latest firebase version 3.0.3+. Are you getting any other errors in the console? Are you running this in a desktop environment or from a mobile device? These details would be very helpful to debug.
This error is typically thrown if you try to sign in with popup and close the popup before it completes.

Bassam
Reply all
Reply to author
Forward
0 new messages