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

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

Notify of
avatar

Anh Le Hoang
Guest
Anh Le Hoang
1 day 11 hours ago

#AskPolymer
Hi 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.

Ian Waring
Guest
Ian Waring
2 days 14 hours ago
Tried to use this example to do an email/password example – adding a signup function to the Polymer Script. Unfortunately two issues; I can't work out how to pass email and password data from the template resident iron-form/paper-input variables into the Polymer() signup or login script functions. Nor can I see how error conditions can get toasted back to the user from these functions.The original Polymer authentication demo used MDL and did have all the error handling in place but inline, capturing "incorrect password" or "user has already signed up" errors using afirebase.auth().signInWithEmailAndPassword(email, password).catch(function(error) {…}call and handling errors (like 'auth/wrong-password')… Read more »
Ian Waring
Guest
Ian Waring
2 days 20 hours ago
Brilliant tutorial, though using Google sign-in is not something being loyal as a Google employee helps us outside the company. More impressive if it were done with email/password as a worked example – something we're trying to implement much more routinely. A few more hurdles to cover that way – like creating new users (which is present in the API), password resets and email code verifications :-} – albeit these latter two appear to be missing from the Firebase Auth wrapper at the moment. Oops – back to my drawing board!One thing that's not clear is what happens if you… Read more »
Azarel Howard
Guest
Azarel Howard
3 days 5 hours ago

can you guys start including supplementary sections for Polymer 2 please. 🙂 Spent a couple of hour's trying to get this working to eventually discover the main problem is that shadow dom is on by default with Polymer 2. Means the file structure used here is completely useless with out of the box Polymer 2. 🙁

Eric Diaz (Eric Diaz, MD)
Guest
Eric Diaz (Eric Diaz, MD)
3 days 12 hours ago
A couple topics that I think you should discuss, possibly as a review of this Polycast #57:1) Compare and contrast polymer-cli and firebase-cli scaffolding and project setup. If a user would want to use one, the other or both, what steps should they take and what are some considerations?2) Compare and contrast google-sign-in and firebase-auth authentication methods. What are some pros and cons of using one versus the other? What can and can't you do if using firebase-auth versus google-sign-in? Can scopes / permissions for google apis be set within firebase-auth?3) What happens within the firebase database console, once a… Read more »
ryan tyler
Guest
ryan tyler
4 days 15 hours ago

where is the code that creates the users table that you use in episode 58?

Yachao Shang
Guest
Yachao Shang
7 days 7 hours ago

how to stop the ploymer serve and firebase serve from the terminal?

Gui HGO (Guihgo)
Guest
Gui HGO (Guihgo)
7 days 18 hours ago

#askfirebase how to block other domains to connect to mt firebase ?

cow Ehne
Guest
cow Ehne
8 days 4 hours ago

Where did you get your stickers?

Azem Myrta
Guest
Azem Myrta
8 days 18 hours ago

z

1 2 3 5
wpDiscuz