You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the user has completed signing in, regardless of type (password, social, sso), the frontend causes a navigation to start going to the redirect URL.
The redirect URL involves several redirects which takes a while for things to happen. I've timed 1s on logto servers, 3s on my local backend, the user may also have a slow internet connection. The fact that setting up a users login takes a second isn't the issue though.
While the redirects are happening, the browser is still sitting on the sign in page waiting for a response, leaving the user questioning what is going on, to them it appears as though the login attempt has failed and they need to resubmit.
Expected behaviour
When triggering the redirect off of the sign-in flow, forms should go away and a loading splash should be displayed so the user is aware that something is happening.
How to reproduce?
complete a sign in, any method, and before the redirect, notice the lack of loading state before navigation resolves.
Context
Logto Cloud
Self-hosted, Logto version =
Container (Docker image)
Raw Node.js
Screenshots
Here's a gif of what I mean, ignore the localhost:3001 stuff.
The text was updated successfully, but these errors were encountered:
Describe the bug
After the user has completed signing in, regardless of type (password, social, sso), the frontend causes a navigation to start going to the redirect URL.
The redirect URL involves several redirects which takes a while for things to happen. I've timed 1s on logto servers, 3s on my local backend, the user may also have a slow internet connection. The fact that setting up a users login takes a second isn't the issue though.
While the redirects are happening, the browser is still sitting on the sign in page waiting for a response, leaving the user questioning what is going on, to them it appears as though the login attempt has failed and they need to resubmit.
Expected behaviour
When triggering the redirect off of the sign-in flow, forms should go away and a loading splash should be displayed so the user is aware that something is happening.
How to reproduce?
complete a sign in, any method, and before the redirect, notice the lack of loading state before navigation resolves.
Context
Screenshots
Here's a gif of what I mean, ignore the localhost:3001 stuff.
![Peek 2024-02-05 19-49](https://private-user-images.githubusercontent.com/3320430/302811871-bf8d7bcf-08e4-4ead-8837-67edaf4a9c49.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNzQ2MzYsIm5iZiI6MTcyNDE3NDMzNiwicGF0aCI6Ii8zMzIwNDMwLzMwMjgxMTg3MS1iZjhkN2JjZi0wOGU0LTRlYWQtODgzNy02N2VkYWY0YTljNDkuZ2lmP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjBUMTcxODU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2ZjY2M0NmI5OTI1Y2NlMmVhMzU2ZTliMmZmMDhmMmI3YjBjYTI2N2IxM2U2ZTk0NTY3OTBiMWY5NjY1OTMyYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.qp_360PGalE7Xnige4gjU3bIngBXMA5RfyCogCKMa_8)
The text was updated successfully, but these errors were encountered: