Questions tagged [emberfire]

EmberFire is the officially supported Ember JS adapter for Firebase with Ember-Data.

EmberFire is intended to make it easy to build Firebase-powered Ember applications.

151 questions
3
votes
4 answers

Adding firebase & emberfire dependencies to an ember.js app (ember-cli)

I'm an emberjs begginer and I have been searching how to add the "firebase" and "emberfire" dependencies to my ember application that I created using ember-cli. I used bower to install these 2 dependencies but I get this error: Firebase is not…
Badr Tazi
  • 679
  • 1
  • 6
  • 20
2
votes
2 answers

Implementing a Database - Cannot read property 'initializedRelationships' of undefined - Ember js

here is the adapter In Ember Data, an Adapter determines how data is persisted to a backend data store. Things such as the backend host, URL format and headers used to talk to a REST API can all be configured in an adapter. /*…
2
votes
2 answers

Firebase 3 Authentication with Emberfire and Torii

I'm trying to authenticate with Firebase's email/password provider, but keep getting the following error: Uncaught TypeError: Cannot read property 'open' of undefined Here's what my app looks like: app/torii-adapters/applications.js import Ember…
John
  • 85
  • 1
  • 10
2
votes
0 answers

Reload data from backend for model with findAll an RSVP.hash

I struggle a couple of days with ember data (emberfire adapter). It seems not to be possible to reload the data from the database ? this is the model : model: function() { console.log('In model'); return Ember.RSVP.hash({ customers:…
Rudi Werner
  • 89
  • 1
  • 8
2
votes
2 answers

Authentication failed - Permission Denied with EmberFire

I'm trying to set up a basic datastore at firebase when following simple beginner tutorials on Ember js 2.0. For example I am following this tutorial: https://medium.com/@jamesfuthey/a-gentle-introduction-to-ember-2-0-8ef1f378ee4#.d6umfj62j I always…
Heath
  • 59
  • 6
2
votes
2 answers

Torii session does not persist after refresh

Currently, my Ember-cli application logs out after refresh. I have altered my code a lot to try to get it to work, but none helped. If necessary, I will try to implement authentication with another provider. I have a route for application, which is…
sallyp
  • 196
  • 1
  • 12
2
votes
0 answers

Detecting auth token expiration with Emberfire

I have no issue with my firebase token expiring but I'd like to programmatically know about this so I can ensure the UI responds in an appropriate way when this happens. In this situations I notice that I get the following message: resumeSession()…
ken
  • 7,647
  • 9
  • 56
  • 117
2
votes
1 answer

Why does my Ember computed property on hasMany relationship not update?

I have an Ember Data model as: export default DS.Model.extend({ name: DS.attr('string'), friends: DS.hasMany('friend',{async:true}), requestedFriendIds: Ember.computed('friends',function(){ return…
tillerstarr
  • 2,545
  • 1
  • 18
  • 35
2
votes
1 answer

EmberFire facebook authentication: nothing happens with authwithOAuthPopup

I've been following this tutorial to set up Facebook authentication on my Ember CLI + EmberFire + Firebase app. However, nothing happens when I click the log in button. And it doesn't even give me an error message. I'm using application.hbs template…
2
votes
1 answer

Allow first-time creation of data in Firebase, then restrict access

I'm looking for a solution to allow first-time creation of data in Firebase and then subsequently restricting access to the owner of that data (or an administrator). Essentially, I've created a signup process for a business, which creates both a…
jdixon04
  • 958
  • 9
  • 22
2
votes
1 answer

Protecting a route using Firebase Simple Login

I'm trying to implement the following sequence of events in an Ember app that uses Firebase Simple Login and ember-cli. Check if the user is authenticated before allowing entry to any route. All routes need to be authenticated. If the user is not…
Feech
  • 3,952
  • 4
  • 25
  • 36
1
vote
1 answer

How can I authenticate via Firebase Google Auth on localhost

I'm building a site with emberfire and using firebase. Everything seems to be set up fine regarding credentials, and I can read/write to the firebase database while developing locally, but every time I try to authenticate via the Google Popup it…
ELepolt
  • 333
  • 1
  • 4
  • 14
1
vote
1 answer

Why am i getting assertion error of FirebaseAppService

Version info DEBUG: ------------------------------- DEBUG: Ember : 3.4.4 DEBUG: Ember Data : 3.11.0 DEBUG: EmberFire : 3.0.0-rc.3 DEBUG: ------------------------------- Steps to reproduce Try to save record on my firebase storage in…
1
vote
1 answer

emberfire: this._ref.push is not a function

The Issue I seem to be getting the following error with emberfire, I followed the documentation yet still get the error: Uncaught TypeError: this._ref.push is not a function at Class.generateIdForRecord (firebase.js:75) at Class._generateId…
1
vote
1 answer

How to go to new page after successful login with EmberFire?

I am trying to go to a new page after a successful login using Firebase and EmberFire. Below is my controller.js for my sign in page import Ember from 'ember'; export default Ember.Controller.extend({ actions: { signIn(provider) { let…
1
2
3
10 11