-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
in IOS9 Safari does not work FB and G+ login popups #885
Comments
+1 having the same issue it seems to work on mobile Chrome though (iOS + Android) |
Hi all - I haven't resolved the issue but I have found some interesting behavior... I am not super familiar with satellizer's code base so I am hoping someone could shed some light here to solve this issue for what seems like a lot of people! In certain mobile browser versions, the main app tab seems to go "dormant" and doesn't see that the satellite oauth popup tab has returned with the ?code param. I am seeing this on iOS Safari and Android Firefox.
EXPECTED BEHAVIOR:
ACTUAL BEHAVIOR:
BUT, what I notice is that after step 2, A) if I MANUALLY navigate back to the original browser tab (WITHOUT closing the oauth tab), the original browser tab wakes up, the promise from auth.authenticate() is successfully resolved, and my user gets logged in B) if I CLOSE the redirect tab (the one that has the ?code parameter), and am brought back to the original browser tab, nothing happens (presumably because it can no longer find the popup with the ?code param value) For reference, here is my authProvider config for FB & Google. And this seems to occur on both Satellite 0.14 and 0.15.4 $authProvider.facebook({ $authProvider.google({ |
haha, directly related to #829 |
@chungconscious Did you found any resolution for this problem? |
@Machecek - nope |
I have problem with satellizer on mobile devices. Have read all previous threads and didn't find answer on this issue.
No problems with desktop devices
Tested this on iPad with IOs9 safari, and also android 6 / firefox.
Facebook popup opens, I enter my credentials in it, after submit it just closes and nothing happens.
My function:
I can see console.log dump with "facebook" before auth.
Code that i'm running:
onAuthSuccess
andonAuthError
are called only on desktops, but not on mobile devices ( tested on Ipad IOS9 Safari ),looks like promise from
.authenticate(provider)
isn't returned on mobile devices.The text was updated successfully, but these errors were encountered: