Login redirection flow issues when bandwidth is low #96

Open
opened 2024-01-11 11:57:42 +00:00 by CJ_Clippy · 0 comments
Owner

When internet is slow, the redirect appears for several seconds.
The user is presented with a link. "click here if not redirected"
The user MUST NOT click the link. If they do, the auth data doesn't get fetched from strapi, and they end up at the VOD page without authToken.
The user must wait to be redirected automatically.

I think the fix here is to remove the click message until the authData is safely stored in localstorage.

In other words, the message must not be shown until the js redirect takes place.

The "click here if not redirected" message is confusing and antiquated, anyway. We don't need to show it unless the js redirect fails, at which point the whole site would fail, because js is required...

So yeah, don't display the message until the js redirect is attempted. Instead, put a spinner to show the user that the page is doing something.

When internet is slow, the redirect appears for several seconds. The user is presented with a link. "click here if not redirected" The user MUST NOT click the link. If they do, the auth data doesn't get fetched from strapi, and they end up at the VOD page without authToken. The user must wait to be redirected automatically. I think the fix here is to remove the click message until the authData is safely stored in localstorage. In other words, the message must not be shown until the js redirect takes place. The "click here if not redirected" message is confusing and antiquated, anyway. We don't need to show it unless the js redirect fails, at which point the whole site would fail, because js is required... So yeah, don't display the message until the js redirect is attempted. Instead, put a spinner to show the user that the page is doing something.
CJ_Clippy added the
bug
label 2024-01-11 11:59:16 +00:00
Sign in to join this conversation.
No description provided.