Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
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
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.