colinskow / ng-superlogin

AngularJS bindings for the SuperLogin project
MIT License
15 stars 17 forks source link

Social oAuth dialog does not close after successful authentication #19

Closed chriseyhorn closed 7 years ago

chriseyhorn commented 7 years ago

I have implemented both Google and Facebook oAuth following the superlogin-demo app but after I get a successful auth, the popup does not close. Any ideas what I'm missing here?

chriseyhorn commented 7 years ago

Opened the popup in dev tools and saw this: DOMException: Blocked a frame with origin "http://localhost:3009" from accessing a cross-origin frame.

Since I have my server running on a different port than my test site locally the callback is getting blocked.