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

Flash of oddly styled content on login #17453

Closed
glombek opened this issue Nov 7, 2024 · 7 comments
Closed

Flash of oddly styled content on login #17453

glombek opened this issue Nov 7, 2024 · 7 comments

Comments

@glombek
Copy link
Contributor

glombek commented Nov 7, 2024

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.0.0-rc3

Bug summary

Logging in is a little jarring as there's a blue screen that flashes up very briefly. It feels a little clunky when running at full speed.
FOUC
FOUC1-17
FOUC2-18

Specifics

No response

Steps to reproduce

Run a v15 site
Disable caching in the Network panel of developer tools
Login
Look for the blue flash

Expected result / actual result

The login flow should feel seamless and less jarring.


This item has been added to our backlog AB#45837

Copy link

github-actions bot commented Nov 7, 2024

Hi there @glombek!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@Migaroez
Copy link
Contributor

Migaroez commented Nov 7, 2024

Hey Joe, this is expected behavior as the blue page you see is the callback page for the oath flow. Which then redirects you to the client

@Migaroez Migaroez closed this as completed Nov 7, 2024
@iOvergaard
Copy link
Contributor

Hi @glombek, I'm following up on this; as @Migaroez said, the OAuth flow has a landing page, which is shown only briefly if you have a fast connection or are on localhost, etc. I'm wondering if we really need this landing page in case of a normal login, but we had some issues with capturing the return code to exchange for a token, so what happens on the landing page is roughly

  1. Get the ?code parameter from the URL
  2. Call the token endpoint to get an access_token
  3. Store that in local storage and memory
  4. Redirect to the backoffice app

Do you feel like having some other kind of loading screen would help as this process transpires in the background? Maybe a loader bar/circle instead?

@iOvergaard iOvergaard reopened this Nov 8, 2024
@iOvergaard iOvergaard self-assigned this Nov 8, 2024
@glombek
Copy link
Contributor Author

glombek commented Nov 11, 2024

Hi folks, thanks for the replies. I appreciate this is as designed but my issue is more that it feels incomplete than its actually a technical problem.
A loading screen would be the nicest experience, but even a if the landing page wasn't dark blue in contrast to the two white pages before and after, it'd be less jarring!

@JasonElkin
Copy link
Contributor

I've noticed this too and yes, a loader instead while the redirects happen would be better.

As far as the user is concerned, logging in is a single operation - they don't need to see these steps.

@iOvergaard
Copy link
Contributor

Hi all, I hope that #17618 will improve this experience.

@iOvergaard iOvergaard added release/15.1.0 and removed state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks labels Nov 22, 2024
@leekelleher
Copy link
Member

Fixed in #17618 for Umbraco 15.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants