Back in the old times, on the sites I log in regularly, my browser filled in both username and password. I clicked “Log in” once, and I was set to go.

But no more. Now it’s all first a username, then a password. From what I saw, Apple started this many years ago, but now this bother really spread. And it’s not like I can just double-click on the same screen area, oh no. Animations make sure that I have to wait several hundred milliseconds before the password field is there, and depending on the site, I even have to select from my browser, which login I want to use, twice!

Why, oh why?

All my screens are really big enough to display 2 text fields. What are arguments for this behavior? I don’t see any.

  • bus_factor@lemmy.world
    link
    fedilink
    arrow-up
    147
    arrow-down
    2
    ·
    edit-2
    2 years ago

    A lot of services these days support multiple forms of authentication. Did you sign up with a separate password? Did you use Google or Facebook auth? Is this a corporate account where auth is via their SSO? They don’t even know whether they should ask for your password until they know who you are.

      • residentmarchant@lemmy.world
        link
        fedilink
        English
        arrow-up
        37
        ·
        2 years ago

        As someone who just built one of these, that is the exact reason we did it.

        It would be cool if users just remembered which service they used to sign in, but they often don’t, so this is the next best thing. Tell us your email, we look up which service you used, then send you to that service to complete the login.

        • TJA!@sh.itjust.works
          link
          fedilink
          arrow-up
          16
          arrow-down
          1
          ·
          2 years ago

          Pro tip: leave the password field on the site but make it invisible. So when I am using my password manager to fill in the username, the password field will be filled out too. And I don’t have to use my password manager twice for one login.

          • attaxia@lemmy.world
            link
            fedilink
            arrow-up
            9
            ·
            2 years ago

            1Password actually is really good at handling these two step login screens, for me it always autofills the password correctly

              • NightAuthor@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                2 years ago

                Are you using the auto-fill on page load? I heard that is a security risk.

                For me I have to <> <>, <> <>

                To login to these forms, and on mobile this means unlocking my vault twice (which happens to be a bit annoying bc my Face ID is broken)

                • Plagiatus@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2 years ago

                  I do not use auto fill, no.

                  But at least you should be able to unlock your vault once and then keep it unlocked for a few minutes so you don’t need to double up. Maybe try the browser extension that you can get for Firefox (both desktop and mobile).

            • MetaSynapse@kbin.social
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              1Password is great, I just switched to it recently after the LastPass kerfuffle and the UX is lightyears better

    • Dianoga@lemm.ee
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      2 years ago

      This is the answer. I’ve had to build it a handful of times and it always feels bad.

    • boatswain@infosec.pub
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      So exposing information about users (how they log in) without authenticating that you’re someone authorized to have that information?

      The better way to do this is to just have “log in with Google” or whatever buttons.

      • bus_factor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        As I mentioned elsewhere in the thread, most users don’t remember what they used when they created the account, particularly if it’s something they don’t use often. It’s also cumbersome to have to input that, especially if you bundle that with an optional password field.

        That’s not to say you don’t have a point about leaking that information. Personally I’d be more concerned about leaking the fact that I have an account at all. If this is a concern for you, you are likely not inclined to use the likes of Google Auth or Facebook Auth. You’d be better off using a unique password for each service, store them in some sort of password manager, and rely on the default behavior treating “local account” and “no account” the same in terms of showing you the password field.

        Maybe that’s not your preferred behavior, but it does allow you to keep that data private while simultaneously being easier to use for the SSO users.

    • blackbrook@mander.xyz
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      2 years ago

      And it’s impossible to provide for all these options on one screen, with either a password field that some users ignore or some kind of option selection that either hides or shows it?

      • bus_factor@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        2 years ago

        If you put that much trust in users you are in for a rough time. You’d get tons of “forgot password” requests because people expect to fill in every password field they’re presented with. If you ask them what mode of auth they used, they don’t know. Heck, I consider myself fairly on top of things, and I don’t always remember how I authenticated to some site I rarely visit.

        Most users would rather wait for an extra page load than deal with any of the above.

  • crowsby@kbin.social
    link
    fedilink
    arrow-up
    110
    arrow-down
    2
    ·
    2 years ago

    Similarly, platforms that default to a massive CREATE AN ACCOUNT box centered on the screen and make you play Where’s Fucking Waldo trying to find the size 8 “Log In” hyperlink.

  • radix@lemmy.world
    link
    fedilink
    English
    arrow-up
    76
    arrow-down
    1
    ·
    2 years ago

    I wouldn’t mind the separate pages for username / password if the “remember me on this device” checkbox weren’t fucking useless 99% of the time.

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    70
    ·
    2 years ago

    I believe it is so they can support various different SSO providers.

    Like, oh you’re trying to log in as Peter, well you’re a member of the Initech domain, which uses the Initrode SSO, so let me redirect you to their SSO login page.

    Oh, you’re Bill, you just use a password you pleb. Here’s your text box.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    59
    ·
    2 years ago

    Nowadays it is possible to set up many services in such a way that you authenticate in a different way from a password, for example with an app on a smartphone. Such services can’t ask you for your password until you have told them what account you want to log into because it might turn out you have to give them something other than a password.

  • bia@lemmy.world
    link
    fedilink
    arrow-up
    38
    ·
    2 years ago

    I think it’s due to single sign on (SSO) or other means of authentication (OAUTH), which is convenient when used.

    But I agree, annoying if you use username and password.

  • _number8_@lemmy.world
    link
    fedilink
    arrow-up
    24
    arrow-down
    3
    ·
    2 years ago

    yeah i noticed this as well. extremely annoying, i’m sick of UX getting shittier and more annoying for the vague promise of ‘security’. having to get my phone out to login to youtube is a fucking downgrade, plain and simple.

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    2
    ·
    edit-2
    2 years ago

    It started as defense against credential stuffing and a speed bump against brute force attacks. Not only is it additional loads for a bot to do, but passive captcha can be put between the steps. Now I think its becoming fashionable.

    • redballooon@lemm.eeOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      9
      ·
      2 years ago

      Brute force attacks through web interface cannot be a real thing. Performance is much too bad to get anywhere even in great scenarios, plus its be simple to defend against.

      But even if, web automation tools don’t need to be bothered by separating input fields. In the end one request is sent anyway.

      This is a ux thing.

  • Oisteink@feddit.nl
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    2 years ago

    It still gets filled in by all browsers I have. From usability point of view it’s less chance someone press enter after putting in their login name thus leaving the password field empty and getting refused. This will often lead to a disruption friction of their workflow (don’t know the proper English word)

  • Bappity@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 years ago

    Google does this best. It hides the password field but it can still be picked up by bitwarden and other password managers so will already be auto-filled when you press next.

    I still hate that form of login though.

  • Tarquinn2049@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    2 years ago

    Companies lose money when their customers get complacent with security. This is one method to increase engagement with the log in process to minimize inattention. Obviously it goes counter to the opposite goal of reducing friction with the UI, they try to balance somewhere between both.