Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I need a working example demo of the <firebase-auth> or Polymerfire element in Polymer 1.x

Please share a working code example of how to use the <firebase-auth> Polymer element.

I have a custom <paper-button> I'm trying to make into a login button for user authentication. I want to use the Firebase to perform the user authentication service.

Here is the user documentation.

Here is the Github repository.

like image 931
Let Me Tink About It Avatar asked Jul 26 '15 06:07

Let Me Tink About It


1 Answers

I recently found a better, newly updated version of a solution to this.

However, it is tricky to observe. It is the Polymerfire demo, also located here on Github.

Steps to observe it (at the command line):

git clone https://github.com/firebase/polymerfire
cd polymerfire
bower install
polymer serve
open http://localhost:8080/components/polymerfire/demo/

You can also (optionally) instead of using the last open command, simply navigate (using your browser) to: http://localhost:8080/components/polymerfire/demo/.

like image 189
Let Me Tink About It Avatar answered Nov 13 '22 10:11

Let Me Tink About It