A fully functional demo of Firebase v3 Web authentication viewable here. Sign in with Facebook, Github, Google, Twitter, password based, and anonymous accounts. The code, available on Github, is easy to read and follow and is well documented. The focus is on the fully functional authentication system.
Password based users are sent a validation link. They can also change their email address and password - both of these events send a verification email as an additional security measure.
Lastly, the difference between authentication, client side authorization, and server side authorization secured via Firebase Realtime Database Security Rules is demonstrated.
Configure Your IDE
npm install -g firebase-tools
firebase login --no-localhost
git clone https://github.com/rhroyston/firebase-auth.git
background: urlin all JS, CSS, and all HTML files depending on your Web hosting folder structure .
srcand update as necessary.
privateLink.href = "../firebase-auth/private"the
..seems to be required.
Login to Web app
demo.update('mynode','myKey','myValue')method to add secure markup to your Realtime Database.
hrefpath to match your folder structure.
Login using each oAuth provider
Register as a Password based user