Using Firebase Auth with Twitter in a Chrome Extension

199 views
Skip to first unread message

Jordi Aragonés

unread,
Jan 26, 2018, 12:53:53 PM1/26/18
to Firebase Google Group
I'm trying to use firebase authentication with Twitter in a Chrome Extension, I've checked a sample on how to authenticate using Google and it worked, but when I tried to adapt this example to Twitter, I'm not able to achieve anything close to an authentication succeed.

Is there anyone that could give me a hint? A sample code would be awesome! XD

Another doubt that I have is... if I have a twitter token from a different flow (not related to firebase), can I use it with firebase to authenticate my user to my firebase app?

Thanks!

Bassam

unread,
Jan 26, 2018, 9:12:26 PM1/26/18
to Firebase Google Group
Hey Jordi,

Using signInWithPopup while having the calling code run from the background script should work.

Best regards,
Bassam
Reply all
Reply to author
Forward
0 new messages