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

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

Notify of
avatar

Thomas Cremers
Guest
Thomas Cremers
1 month 1 day 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
1 month 2 days ago

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

Lucas Michelon de Carvalho Frutig
Guest
Lucas Michelon de Carvalho Frutig
1 month 2 days ago

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

Vladimir Minkin
Guest
Vladimir Minkin
1 month 10 days ago

Is there any builtin tool to help manage user roles?

Jón Reginbald Ívarsson
Guest
Jón Reginbald Ívarsson
1 month 23 days ago

Great video! What copy history program are you using?

contis
Guest
contis
1 month 30 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
13 days 8 hours 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
27 days 8 hours ago

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

Max Kutny
Guest
Max Kutny
27 days 23 hours 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
2 months 4 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.

fr4s0r
Guest
fr4s0r
2 months 4 days ago

Can you talk about using Visual Studio and why you use it now? What do you like/dislike in an editor?

Ian Waring
Guest
Ian Waring
2 months 10 days ago

App as entered verbatim with a Google Sign-in fails on sign-in attempt with: firebase-auth.html:184 Uncaught TypeError: Cannot read property 'signInWithPopup' of undefined(…).This looks consistent with other reports on Stack Overflow with Polymer, which suggest a race condition in library loads. See: stackoverflow.com/questions/37753272/polymer-key-global-variables-undefined-whyIs this fixed by the new version? Using polymerfire v0.10.3, Firebase 3.2.0 , Polymer 0.17.0…

Anh Le Hoang
Guest
Anh Le Hoang
2 months 12 days ago

#AskPolymerHi Rob, can you explain why dom-repeat can let outside world contacts to its own data, 'item'?I've read the behaviors Polymer.Templatizer, but still unclear what magic happen?In my project, a custom list place a hole <content>, where who use it can tell the list how to render its list-item, so i need passing data to this custom list's <content>. Look like what <iron-list> does.Thank you.

1 2 3 5
wpDiscuz