this post was submitted on 02 Oct 2023
311 points (97.3% liked)

Ask Lemmy

26162 readers
1284 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] bus_factor@lemmy.world 161 points 11 months ago* (last edited 11 months ago) (4 children)

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.

[–] redballooon@lemm.ee 42 points 11 months ago (1 children)

That’s the best explanation I heard so far.

[–] residentmarchant@lemmy.world 41 points 11 months ago (1 children)

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 14 points 11 months ago (2 children)

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 9 points 11 months ago (2 children)

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

[–] Plagiatus@lemmy.world 9 points 11 months ago (1 children)

So far Bitwarden has been doing great for me, too.

[–] NightAuthor@lemmy.world 3 points 11 months ago (1 children)

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)

load more comments (1 replies)
[–] MetaSynapse@kbin.social 1 points 11 months ago

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

[–] Dianoga@lemm.ee 17 points 11 months ago

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

[–] boatswain@infosec.pub 3 points 11 months ago (1 children)

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.

load more comments (1 replies)
[–] blackbrook@mander.xyz 1 points 11 months ago (1 children)

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 10 points 11 months 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 113 points 11 months ago (1 children)

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.

[–] Rouxibeau@lemmy.world 16 points 11 months ago (1 children)

Because new signups are more valuable than existing users.

[–] J4nk@lemmy.world 3 points 11 months ago (2 children)

That, plus the majority of users seeing the login screen are probably new. At least, unless it's one of those annoying sites that makes you log in every single time.

[–] TheGreenGolem@lemm.ee 4 points 11 months ago

Oh how much I hate it. I want to log in once in my lifetime. You can log me out when I die.

load more comments (1 replies)
[–] radix@lemmy.world 82 points 11 months ago (4 children)

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.

[–] redballooon@lemm.ee 9 points 11 months ago

Oh yes.

That probably is not covered by the functional cookies that’s the maximum which I allow any site.

[–] ChaoticNeutralCzech@feddit.de 5 points 11 months ago* (last edited 11 months ago)

Microsoft:

Stay signed in?

This will decrease how many login prompts you see.

⬜ Remember on this device

No Yes

Why isn’t the checkbox implied if I press Yes?

[–] SpaceNoodle@lemmy.world 4 points 11 months ago

Is it ever not useless?

[–] hperrin@lemmy.world 70 points 11 months ago (1 children)

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.

[–] sebinspace@lemmy.world 12 points 11 months ago (1 children)

Initech

You wouldn’t happen to have 8 bosses, would you?

load more comments (1 replies)
[–] schnurrito@discuss.tchncs.de 62 points 11 months 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 40 points 11 months 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 25 points 11 months 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.

[–] Bishma@discuss.tchncs.de 23 points 11 months ago* (last edited 11 months ago) (2 children)

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.

load more comments (2 replies)
[–] Brkdncr@artemis.camp 23 points 11 months ago (1 children)

Federation. Your email address could either be local creds, or federated with google, Microsoft, Facebook, Apple, etc.

When you submit your email address, it determines how you will be authenticating when you submit it.

[–] adam@discuss.tchncs.de 6 points 11 months ago* (last edited 11 months ago) (2 children)

That could be done after the user enters both the email/username and password

Edit: sorry, I think I misunderstood what you said, but if someone is using something like "sign in with google", we've had separate buttons for that for ages.

[–] FunkFactory@lemmy.world 3 points 11 months ago

I think it might solve the problem that people often don't remember if they created their account using SSO or with an email/password combo. So the site looks up your email to see what login method you use in order to redirect you to the proper prompt.

[–] Devion@feddit.nl 1 points 11 months ago

Yes, with a limited set of federations you can have the user make that choice beforehand. But sometimes the options are changing all the time and/or you don't want to announce all the services you're federating with, or it wouldn't make sense anyway.

[–] promitheas@iusearchlinux.fyi 9 points 11 months ago

I cant answer about the separation of username/password, but unnecessary animations seem to be a product of the ensh*ttification of the web

[–] uriel238@lemmy.blahaj.zone 7 points 11 months ago* (last edited 11 months ago)

There's two reasons I can think of. One is direct resistance by services to password auto-fill during the aughts (it was new and scary) and separating the account field and pass field defeated auto-fill detection at the time. Amazon separated account and password around then and it's been that way since.

The other is your secret picture, a preventative measure against phishing attacks used by banks and other commercial interests, When you create an account, you're asked to select a stock image and a phrase that the site shows you when asking for your password. That way you know it's really the bank's site and not a phishing site.

Right now I think I have only one web account that uses such a protection.

[–] bappity@lemmy.world 5 points 11 months ago* (last edited 11 months 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.

[–] Oisteink@feddit.nl 5 points 11 months ago (1 children)

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)

[–] ChaoticNeutralCzech@feddit.de 5 points 11 months ago (1 children)

The JS to detect an empty password field and only enabling Enter onchange is way simpler than the code for two separate pages. I actually implemented the former once.

[–] Oisteink@feddit.nl 1 points 11 months ago (1 children)

Sure - but quite often it’s about doing what’s easy for the users/customers rather than programmers

[–] ChaoticNeutralCzech@feddit.de 2 points 11 months ago

How is that easier for users? You mentioned one point but I counterargued that the problem can be mitigated in other ways.

[–] AlwaysNowNeverNotMe@kbin.social 4 points 11 months ago

Probably a security measure to slow down brute forcing

[–] Kalkaline@leminal.space 1 points 11 months ago

I assume it's to prevent some sort of automated process from trying a username and password over and over again, but that seems easy to get around.

load more comments
view more: next ›