telenordigital / connect-android-sdk

Android SDK for CONNECT ID
https://telenordigital.github.io/id-docs.telenordigital.com/
Other
16 stars 14 forks source link

HEI web flow seems to be skipped when signing in #13

Closed jorunfa closed 8 years ago

jorunfa commented 8 years ago

More investigation is needed.

jorunfa commented 8 years ago

From debugging this flow seems to take place:

https://connect.staging.telenordigital.com/id/signin?gui_config=eyJraWQiOiIxIiwiYWxnIjoiUlMyNTYifQ.eyJsb2MiOiJlbiIsInJlcyI6Im1GdkQxUG9SS3FCclhqb0RJSkFGMEJwS2VNTiIsImFwdCI6Im5hdGl2ZSIsImxvaCI6W10sInNzaSI6bnVsbCwiYXVjIjoiaHR0cHM6XC9cL2Nvbm5lY3Quc3RhZ2luZy50ZWxlbm9yZGlnaXRhbC5jb21cL29hdXRoXC9hdXRoZW50aWNhdGlvbl9jYWxsYmFjayIsInB1dCI6Im1zaXNkbiIsInVsZSI6ZmFsc2UsImFjciI6W10sImxobCI6ZmFsc2UsImVzYyI6W10sImJyZCI6ImNvbm5lY3RleGFtcGxlIiwic2xzIjpmYWxzZSwic2VuIjpudWxsLCJjaWQiOiJ0ZWxlbm9yZGlnaXRhbC1jb25uZWN0ZXhhbXBsZS1hbmRyb2lkIn0.DlPgnfsEUUZjJdbh6vPB79R_xV0gOwqGHn4Lp_4X-jXJ6zS4aPfRiQhEhpAfPVPpKdysMrLwk0O-J2qPR0htbyujatmL_WpuOG_oJ4rmWrMYjcMxTL67ED1ladZek0heunSh5zEUNrA1xk9n0ldCAXXr-mpVegypI4KvzHjZzLQ

https://connect.staging.telenordigital.com/id/heiconsent

https://connect.staging.telenordigital.com/id/heidetect

https://connect.staging.telenordigital.com/id/heidetect?action=aborthei

https://connect.staging.telenordigital.com/id/signin

https://connect.staging.telenordigital.com/id/signin-switchable

jorunfa commented 8 years ago

The current logic is when the first page finishes loading remove android loading page. The problem is that the /heidetect page redirects before it finishes loading, thus the user never sees this page.

From a UX standpoint the user does not get to see these pages, but the pages are visited and an attempt to do HE is seemingly done.

Will look into improvements to the UX, so the user can see the heidetect page before it redirects. Also try to validate that the HE is working as intended.