Published on November 16, 2016 by Chrome

Check out polymerfire at: goo.gl/IX7KIg

Polymer and Firebase go together like PB & J. Lots of folks have been asking for a series on using the two together so I thought, let’s do this!

Today on the show we’ll be covering the basics of setting up your first Firebase project and handling user auth through Firebase’s Google Sign-in integration.

Polycasts playlist: goo.gl/r5fsMq
Polymer Slack: bit.ly/polymerslack
Polymer G+: goo.gl/YC5Bsh

Subscribe to the Chrome Developers channel: goo.gl/OUF4e2

Leave a Reply

65 Comments on "Authentication with Firebase — Polycasts #57"

Notify of
avatar

Matarr Jobe
Guest
Matarr Jobe
12 days 11 hours ago

Thanks Rob, i have a quick question. how could you secure specific routes in polymer. Maybe i have an admin section that i dont want the public to access.

SS
Guest
SS
1 month 13 days ago

Hi Rob, thanks a lot for this great series of tutorials!A question about this tutorial – is it necessary to put everything in the public directory?Thanks.

pt15528 citi
Guest
pt15528 citi
2 months 7 days ago

Hi Rob, Will it work in apache Cordova ? I just tried it did not work for me, do you have a demo app ? If its not then do you have any other option for hybrid app ?

Thomas Cremers
Guest
Thomas Cremers
3 months 8 days ago

Thanks for the introduction, really useful! Do you have any recommendations when it comes to doing mock auth when using web-component-tester? I'd love to test my components that use auth and/or the firebase database. Thanks!

kaosmentalgeral
Guest
kaosmentalgeral
3 months 10 days ago

What software are you using to copy+past with history on mac? It's beautiful 🙂

kaosmentalgeral
Guest
kaosmentalgeral
2 months 14 hours ago

thanks!

Mr. aoukaba
Guest
Mr. aoukaba
2 months 1 day ago

Alfred Clipboard history

Lucas Michelon de Carvalho Frutig
Guest
Lucas Michelon de Carvalho Frutig
3 months 10 days ago

Night, anybody can say me, how i see the user object with console? Using polymer

Vladimir Minkin
Guest
Vladimir Minkin
3 months 18 days ago

Is there any builtin tool to help manage user roles?

Jón Reginbald Ívarsson
Guest
Jón Reginbald Ívarsson
3 months 30 days ago

Great video! What copy history program are you using?

Mr. aoukaba
Guest
Mr. aoukaba
2 months 1 day ago

Alfred Clipboard history

contis
Guest
contis
4 months 7 days ago

How do you guys handle page restrictions after and before the authentication process ?I want that users only have access to the polymer pages after a successful login but I am having trouble finding the most appropriate and secure way to do so.Are there any resources about that subject or is someone willing to share his experiences?

Max Kutny
Guest
Max Kutny
2 months 21 days ago

In the next polycast Rob shows how to configure Firebase DB so it handles per-user data access. So if I and you are both authenticated then I cannot see your stored data and you cannot see mine.In this scenario Firebase DB is responsible for injecting per-user data into web pages.I definitely might be wrong but it seems that the only way to achieve what you want is to store whole page content in Firebase DB, not only user data.

contis
Guest
contis
3 months 4 days ago

But in connection with Firebase, is there even a way to do so?

Max Kutny
Guest
Max Kutny
3 months 4 days ago

Authentication should be done on the server side for that. So the server basically provides different responses for each user. Making everything on the client side is just a demo. It's not secure and never happens in real world.

Colin Cannon
Guest
Colin Cannon
4 months 12 days ago

Is it possible to use the polymerfire elements without using the firebase setup tools? Would I have to create the .firebaserc, database.rules.json, and the firebase.json files manually? I already have the rules set up in firebase.

1 2 3 6
wpDiscuz