question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase 3.x API with Emberfire 2.x fails to authenticate using Torii

See original GitHub issue

I am upgrading an app that has used Emberfire 1.x (and using the Firebase 2.x API) to the latest and greatest. To my great disappointment, I can not authenticate using the Emberfire/Torii combination. The error I get is:

TypeError: Cannot read property ‘open’ of undefined

And more explicitly, it appears this is the code sequence that is failing:

2017-04-28_11-06-27

The provider is set to ‘firebase’ and the options is set correctly with:

{
  provider: 'password',
  email: email,
  password: password
}

I had seen somewhere in the discussion of other issues that some people were having problems explicitly with ember-source 2.13.0 so I tried reverting to 2.12.2 where it had been working with emberfire 2.x API but the problem seems to be identical.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
mileszimcommented, May 15, 2017

What’s the status of this? Has it been updated to work with ember 2.13? Happy to submit a PR if not. Currently locked at 2.12.0, anything above that throws this exact torii error.

Edit: Seems to be a torii thing. Check out https://github.com/firebase/emberfire/issues/503#issuecomment-301374064

6reactions
Dhaulagiricommented, May 15, 2017

released in 0.8.3 of torii this afternoon 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase 3.0 + Ember 2.0: The Torii adapter must implement ...
Current state: I am able to login, I get the facebook popup and I can authorize. Using fiddler, I can also see the...
Read more >
emberfire/README.md at master · FirebaseExtended ... - GitHub
The officially supported adapter for using Firebase with Ember ... WARNING: Master branch is the work in progress for version 3 of Emberfire....
Read more >
Firebase Auth REST API
You can query the Firebase Auth backend through a REST API. This can be used for various operations such as creating new users,...
Read more >
Authentication - Ember Observer
torii -salesforce-oauth2 - A Torii provider for authenticating with Salesforce. Authentication Last updated 4 months ago. 4.8. ember-simple-auth- ...
Read more >
Emberfire, Emberfire authentication example, Uncaught TypeError ...
EmberFire is the officially supported adapter for using Firebase with Ember ... Migrating from EmberFire 2.x to 3.x; Migrating from EmberFire 1.x to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found