Authentication issue after upgrade with this.get("session").open("firebase"...

31 views
Skip to first unread message

Brendan OHara

unread,
Apr 9, 2016, 5:48:37 PM4/9/16
to Firebase + EmberJS
I assume this is not sure a regression but I didn't change any of the related code so I am not sure what is going on. Basically, after upgrading ember and ember-cli to the latest versions ~2.4.3 and emberfire to 1.6.6 I am getting weird behavior seen in the attached gif screen recording.

The popup opens but never closes and the page redirects right away instead of after and the debugger below never gets hit. 

```
        const self = this;
        this.get("session").open("firebase", { provider: provider}).then(function(data) {
          debugger
          self.get('register').perform(data);
        });  
```
Hoping someone recognizes this issue as I don't get any errors anywhere.
Screen Recording 2016-04-08 at 02.55 PM.gif

Brendan OHara

unread,
Apr 10, 2016, 4:31:51 PM4/10/16
to Firebase + EmberJS
As a follow up -I cloned emberfire, upgraded everything to 2.4.3 and ran the dummy app and the auth works as expected.

The main issue seems to be that the main window is redirecting before the auth window even opens AND once I auth in the popup that window never closes.

I assume this is somehow a problem of my own making but I am so down in the weeds that I am hoping someone has some idea how this would happen.
Reply all
Reply to author
Forward
0 new messages