The Firebase Auth quickstart demonstrates several methods for signing in:
We also provide the code for a Chrome Extension showing how to setup and authorize Firebase in a Chrome extension.
https://<project_id>.firebaseapp.com/__/auth/handler
for auth redirects and enable and setup the app's credentials in the Firebase Console > Authentication > SIGN-IN METHOD.npm install -g firebase-tools
and then configure it with firebase login
.cd
into the quickstart-js/auth
subdirectory.firebase use --add
and select your Firebase project.To run the sample app locally during development:
firebase serve
.
This will start a server locally that serves auth/index.html
on http://localhost:<port>
. Check the output of the command for the exact port.firebase serve
command.To deploy the sample app to production:
firebase deploy
.
This will deploy the sample app to https://<project_id>.firebaseapp.com
.© Google, 2016. Licensed under an Apache-2 license.