Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ember-cli-simple-auth-firebase
Advanced tools
#Firebase Authenticator for Ember Simple Auth This is a custom authenticator for the fantastic Ember Simple Auth project.
If you're using Ember CLI, installation is simple. Just issue the following two commands within your Ember project directory.
ember install emberfire
ember install ember-cli-simple-auth
ember install ember-cli-simple-auth-firebase
Alternatively, you can clone the project and copy the contents of the initializers
and authenticators
folder into your project.
Note: this addon is dependent on both Emberfire and Ember Simple Auth, so make sure it's part of your project if you're copying in the addon manually.
After configuring Ember Simple Auth, you'll need to make sure your Firebase is configured in config/environment.js
like so:
firebase: 'https://<firebase-name>.firebaseio.com/'
To use it, you can do something like this in one of your controllers:
import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
login: function() {
this.get('session').authenticate('authenticator:firebase', {
'email': this.get('email'),
'password': this.get('password')
}).then(function() {
this.transitionToRoute('index');
}.bind(this));
},
logout: function() {
this.get('session').invalidate().then(function() {
this.transitionToRoute('login');
}.bind(this));
}
}
});
Thanks to Simplabs for create Ember Simple Auth in the first place!
Released under the MIT License.
FAQs
Firebase Authenticator for Ember Simple Auth
The npm package ember-cli-simple-auth-firebase receives a total of 8 weekly downloads. As such, ember-cli-simple-auth-firebase popularity was classified as not popular.
We found that ember-cli-simple-auth-firebase demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.