uphold / uphold-sdk-ios

Uphold iOS SDK
MIT License
23 stars 14 forks source link

Authentication stuck at "Confirm your account" #74

Open podkovyrin opened 5 years ago

podkovyrin commented 5 years ago

When authenticating for the very first time (or registering a new user) auth process hangs at confirming email page. If the user confirms his email by opening the link in the Safari.app and manually returns to the app nothing happens. The only way to log in is to press the "Done" button in Safari Controller (after confirming email) and open login page again. img_1562

podkovyrin commented 5 years ago

Why email confirmation is a requirement on a mobile device? It interrupts UX and it's really hard to make it uninterrupted from your end - return back to the app after confirming email in the Safari.app (or this link also can be opened inside another Safari Controller, for instance, Gmail app does it). If disable email confirmation on a mobile device it won't affect user security as 2FA is enabled by default.

nunofgs commented 5 years ago

Hi @podkovyrin,

If the user confirms his email by opening the link in the Safari.app and manually returns to the app nothing happens

Good point. This isn't needed when the user is returning to our app but it's definitely lacking in the web app.

We'll add an auto-refresh feature to that page so that the user can continue the signup process.

Why email confirmation is a requirement on a mobile device?

This is an important security measure even on mobile devices and cannot be circumvented.

podkovyrin commented 5 years ago

We'll add an auto-refresh feature to that page so that the user can continue the signup process.

Thanks! Will be waiting for the fix