Re: [Firebase] Facebook Auth Provider not working, anyone else?

233 views
Skip to first unread message
Message has been deleted

Nicolas Garnier

unread,
Jun 14, 2016, 3:53:53 PM6/14/16
to fireba...@googlegroups.com
Hey Lanre,

Could you deploy your code (using `firebase deploy`) so we could try to reproduce your issue? Also have you tried this on different browsers?

Cheers!


Nicolas Garnier
Senior Developer Programs Engineer
Google Developer Platforms Engineering
Google Switzerland GmbH.
Brandschenkestrasse 110, 8002 Zurich, Switzerland
Identifikationsnummer: CH-020.4.028.116-1

The above terms reflect a potential business arrangement, are provided solely as a basis for further discussion, and are not intended to be and do not constitute a legally binding obligation. No legally binding obligations will be created, implied, or inferred until an agreement in final form is executed in writing by all parties involved.

This email may be confidential or privileged. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it went to the wrong person. Thanks

--

“When I get sad, I stop being sad and be awesome instead”

On Tue, Jun 14, 2016 at 8:47 PM, Lanre Akomolafe <lanr...@gmail.com> wrote:
I'm messing around with the "FriendlyChat" example from the Firebase web app docs and I'm trying to integrate a Facebook Auth Provider rather than the Google Auth Provider in their example. I've integrated Twitter with ease and no issues, by simply creating a
var provider = new firebase.auth.TwitterAuthProvider();

variable and then calling
this.auth.signInWithPopup(provider);//'this' refers to the FriendlyChat object, and this code lies in a prototype function (signIn()) of that object.

which successfully allows me to login with my Twitter account. This exact method works with Google login as well, no issues.

However, when I take the same approach with Facebook:
var provider = new firebase.auth.FacebookAuthProvider();
this.auth.signInWithPopup(provider);

I receive a 400 error, and my inspector suggests that the error lies in the firebug,js code, which I don't believe is open source, nor do I understand.

I've generated and applied the appropriate API Keys, Secrets, and Redirect URI's for Twitter and Facebook (Google login didn't require credentials).

Just wanted to know, has anyone else encountered this problem? And could anyone be of assistance? I'm new to Firebug so I'm assuming I'm missing a simple step. Any and all help is appreciated!

--
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/b6e34acb-4e32-4c0e-95fc-6927955ec3e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jacob Wenger

unread,
Jun 14, 2016, 3:59:42 PM6/14/16
to fireba...@googlegroups.com
Can you please provide a full, minimal repro (in JSFiddle or Plunker) and the actual error message you are getting? Also, please explain what version of the Firebase SDK you are using.

Cheers,
Jacob
Reply all
Reply to author
Forward
0 new messages