-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari does not get to message listener event and does not close the window #175
Comments
iOS Safari should have full support for postMessage API - http://caniuse.com/#search=postmessage I probably won't have time to dive into this in the next few weeks, so please let me know if you figure out what your issue is @NetanelBasal and if it requires a bug fix. |
return this.t = $timeout(((function(_this) {
return function() {
return _this.requestCredentials(authWindow);
};
})(this)), 500); this script works fine in modern desktop browsers but in Ios Safari it seams like the original window setTimeout doesn't fire till it's on focus. Any work around to make the first window post message even if it's not on focus? |
I dived into this and found out that in the same iOS version (8.2) this works on chrome but in safari the bug is that only if you switch to the original window the Two comments:
By the way i created the feature of "opening the auth provider in popup instead new tab" i will probably create a PR next week. |
Working on a PR where we will provide @NetanelBasal - If you would like to submit a PR (rebased against that branch perhaps) for some sort of modal popup interface instead, we'd gladly take a look. For now, going to update the docs in that branch and close this issue. |
No problem, thanks. |
I have a problem that in ios from version 8.2 and below the auth redirect does not close the window. i tried to debug this and i see that the code does not get to my console log: (i am using devise rails)
The text was updated successfully, but these errors were encountered: