Broken experience in mobile iOS
dapearce opened this issue · 9 comments
I'm using this package to authenticate users for Instagram and it's not a very good experience on iOS browsers (have not tested Android). The app pops up the login module, and after login reads:
"Login completed. Click here to close this window."
However, the app never gets the authentication. In addition, the "Click here" link doesn't close the window, so the user is stuck in limbo as it says the URL is my domain so they would expect to refresh but nothing will happen.
I tried adding the loginStyle: "redirect"
option as explained in Meteor oauth docs but that doesn't seem to change anything, it still pops up a new window.
Any idea what's going on here?
Hi @dapearce
I haven't test for the mobile platforms yet. The overall account login system is bit different for mobile app ( see this facebook example https://atmospherejs.com/particle4dev/cordova-fb).
I will probably either write or use a cordova plugin to get a better result for mobile login system. Hopefully, I can release soon.
Hi @yubozhao, I should have clarified I'm not talking about iOS apps, but iOS browsers (Chrome & Safari). The issue I think is that the oauth opens in a new popup. On iOS devices it needs to redirect the current window. See Meteor docs about loginStyle
here. You can see how this works if you try to login with Google on MeetingHero.com vs Assistant.io.
Note that this is only an issue on iOS, I was able to test Android which seems to handle the popup window fine. I tried applying the loginStyle: "redirect"
to the Instagram login, but it doesn't seem to do anything differently.
@dapearce got it, I will check out the for the iOS safari page and make sure the loginStyle is included.
Hmm, doesn't seem to have changed anything for me. loginStyle: "redirect"
still doesn't work as far as I can tell
@dapearce I will check it out later on tonight. Just wondering, you are running on 0.1.1 version, right?
Yep, updated and tried on multiple browsers/devices.
On Wed, Nov 12, 2014 at 9:38 PM, Bozhao notifications@github.com wrote:
@dapearce https://github.com/dapearce I will check it out later on
tonight. Just wondering, you are running on 0.1.1 version, right?—
Reply to this email directly or view it on GitHub
#2 (comment)
.
David Pearce | Differential http://differential.io/ | 859.312.9138 |
@dapearce http://www.twitter.com/dapearce
Works perfect, thanks!