Skip to content

FabricElements/skeleton-auth

<skeleton-auth>

skeleton-auth is a Polymer 3 and Firebase minimal Sign-in module.

Installation

Install skeleton-auth with npm

$ npm install FabricElements/skeleton-auth --save

Usage

Import it into the <head> of your page

<script type="module" src="node_modules/@fabricelements/skeleton-auth/skeleton-auth.js"></script>

Example: basic usage

Configure your Firebase app

See Firebase docs for more information.

Then add the skeleton-auth element with the selected providers.

<skeleton-auth google
               facebook
               twitter
               github
               anonymous
               email
               phone
               on-error="handleError"
               recaptcha-container="recaptcha"></skeleton-auth>
  • Available providers:
    • Google Sign-In
    • Facebook Login
    • Twitter
    • GitHub
    • Anonymous
    • Password Authentication
    • Phone Number

Contributing

Please check CONTRIBUTING.

License

Released under the BSD 3-Clause License.