Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: UX navigation loading state #5391

Open
1 of 4 tasks
mrfrase3 opened this issue Feb 7, 2024 · 1 comment
Open
1 of 4 tasks

bug: UX navigation loading state #5391

mrfrase3 opened this issue Feb 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working status/planned We decided to do it.

Comments

@mrfrase3
Copy link

mrfrase3 commented Feb 7, 2024

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

  • 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.
Peek 2024-02-05 19-49

@mrfrase3 mrfrase3 added the bug Something isn't working label Feb 7, 2024
@darcyYe
Copy link
Contributor

darcyYe commented Feb 7, 2024

Hi @mrfrase3 , thanks for letting us know about the issue. We will fix this.

@simeng-li simeng-li added the status/planned We decided to do it. label Feb 7, 2024
@simeng-li simeng-li self-assigned this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status/planned We decided to do it.
Development

No branches or pull requests

3 participants