umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.53k stars 2.7k forks source link

Flash of oddly styled content on login #17453

Closed glombek closed 1 day ago

glombek commented 2 weeks ago

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

github-actions[bot] commented 2 weeks ago

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 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 :robot: :slightly_smiling_face:

Migaroez commented 2 weeks ago

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

iOvergaard commented 2 weeks ago

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?

glombek commented 2 weeks ago

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 commented 2 weeks ago

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 commented 4 days ago

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

leekelleher commented 1 day ago

Fixed in #17618 for Umbraco 15.1.