This package is a wrapper to Firebase simple login including all dependencies with the exception of firebase it self. Authenticate your Firebase using your Firebase simple login credentials.
MIT License
Firebase makes it easy to integrate email and password authentication into your app. Firebase automatically stores your users' credentials securely (using bcrypt) and redundantly (daily off-site backups).
This separates sensitive user credentials from your application data, and lets you focus on the user interface and experience for your app. Allows your node applications to authenticate a Firebase reference using Firebase Simple Login with email and password.
❗ Do not embet your credentials on public code!
Install via npm:
npm install firebase firebase-login-email
var ref = new Firebase('https://<Your Firebase>.firebaseio.com');
FirebaseLoginEmail(ref, {
email: "<Your Email>",
password: "<Your Password>"
},
function (error, data) {
console.log(data.token);
}
);
Please report issues to ticket system. Pull requests are welcome here!
git flow feature start my-new-feature
)git commit -am 'Add code'
)git flow feature finish my-new-feature
)git push origin
)$ cd /path/to/firebase-login-email/
$ npm install
$ export FIREBASE_ID=<YOUR_TEST_ID>
$ export FIREBASE_EMAIL=<[email protected]>
$ export FIREBASE_PASSWORD=<1234567>
$ node tests/integration/firebase-login-email-integration.js