emberfire: Firebase 3.x API with Emberfire 2.x fails to authenticate using Torii
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:
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.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (3 by maintainers)
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
released in 0.8.3 of torii this afternoon 🎉
@QuantumInformation I’ll take a peek at this when I introduce Firebase 4.0 support, as it will have some API changes. Should have some time in the next week, though I still need to get access to our build system.
In the meantime, happy to accept PRs 😃
Seems like it;s actually a torii issue, Ive started using this user’s torii fork and it works perfectly on 2.13.1 https://github.com/Vestorly/torii/pull/355