Live data from Hacker News

Don’t Get Clever with Login Forms

bradfrost.com

71–80 of 520 posts

Re: Don’t Get Clever with Login Forms

#71

The worst offender I have seen in the wild is treasurydirect.gov. The password must be click in on an online keyboard, and they do not allow password managers to enter the passwords. Screenshot here: https://en.m.wikipedia.org/wiki/TreasuryDirect

And here I was thinking that sites not allowing copy/paste on password fields was the worst atrocity...

Re: Don’t Get Clever with Login Forms

#72
post #32

Imo one key point is missing: Don't give users the option authenticate via Google or Facebook. While it may be convenient at signup, it creates an unneeded dependency and confusion if you forget how you log into a certain site.

Lots of dev tools do this with github, too. The idea of a web-wide sso is a bad one.

I don't think that's true, it's just never been implemented in a way that wasn't bad.

You could, for instance, let people have a public key to identify themselves. Your browser or other client could automatically submit your chosen key for you (or expose a button for you to submit it), then there's a challenge and response, and you're logged in. Your account details are stored with the public key as the id.

Re: Don’t Get Clever with Login Forms

#73

There's been a recent tendency to split login forms into username/password over two screens as mentioned in this article. It's maddening. Password managers can't deal with this, unsurprisingly. I don't see the benefit this provides for anyone.

my password manager has no problems with this

Re: Don’t Get Clever with Login Forms

#74

Earlier quoted context omitted.

So everyone is happy with depending on a password manager? Because having 100 different passwords and having to rotate those isn't going to happen any other way.

There is no reason anyone needs 100 different passwords and/or those passwords to rotate. This is terrible advice, you don't need it and you shouldn't do it. As of current, haveibeenpwned hasn't found any breaches connected to my current email address, which I switched to around three years ago. Which is to highlight: Most breached password data is really, really old . A surprising number of breaches come via an emai…

It's a good point, things like forcing rotation are the worst. It doesn't prevent re-using other passwords, is hugely frustrating.

This is also true for complex password patterns. It's so dumb. Don't make me use special characters, period. Otherwise it's going to be a dollar sign at the end, which is a common pattern, so now the theoretical complexity gains are vastly reduced.

It's also frustrating when I've entered more than the required amount of characters (sometimes a lot more) and your stupid form validation still insists I need more character classes. Why exactly? Stop making password rules suck, if they do, I'll assume your infosec department is completely useless.

Re: Don’t Get Clever with Login Forms

#75

The worst offender I have seen in the wild is treasurydirect.gov. The password must be click in on an online keyboard, and they do not allow password managers to enter the passwords. Screenshot here: https://en.m.wikipedia.org/wiki/TreasuryDirect

Citibank is bad, too.

It uses some kind of JS trick to replace usernames and passwords with asterisks, and you end up with all kinds of invalid information stored in your password manager.

Re: Don’t Get Clever with Login Forms

#76
How about username/password fields that actually look like data entry fields? In the Delta example, the "fields" are indicated by a faint grey underline with placeholder prompts nearly as dark as the page text. I've seen this on multiple sites; I guess it's not fashionable to show "ugly" text entry boxes in the UI, but without them, it's hard to immediately recognize where I should click to enter my username.

Re: Don’t Get Clever with Login Forms

#77

Earlier quoted context omitted.

Yeah, federated flows were my guess too. However, the password fields could have been present and hidden in the same page supporting both password managers and avoiding a page transition. And also the hundred other sites that don't need federated flows but think they need to copy this feature as well. Together it's annoying to hit password managers twice for every login.

> However, the password fields could have been present and hidden in the same page supporting both password managers and avoiding a page transition But then you run the risk of your password of being submitted to the wrong portal no? > And also the hundred other sites that don't need federated flows but think they need to copy this feature as well Very true. It seems to be becoming increasingly prevalent :(

i) Hidden and ii) Nothing I enter should be submitted anyway in an SSO flow.

Re: Don’t Get Clever with Login Forms

#79
post #39

There's been a recent tendency to split login forms into username/password over two screens as mentioned in this article. It's maddening. Password managers can't deal with this, unsurprisingly. I don't see the benefit this provides for anyone.

>Password managers can't deal with this, unsurprisingly. I use a password manager too and often wonder about this. Does this responsibility fall on the website's designer/developer or the password manager? In one hand, I'd like my password manager to work on every site too but on the other, being a web developer/designer, I don't want another thing to support. We already have browsers and browser versions, and browse…

Both. It's basically an accessibility problem.

Should screen readers be able to handle some unusual pages? Yes. Should websites design for accessibility? Yes.

Re: Don’t Get Clever with Login Forms

#80
Something I've noticed, since I've been living for a few days with "my cell phone is my computer." When a login form appears, my on-screen keyboard pops up and covers half the form. Thus, anything at the bottom of the form is likely to be hidden unless I remember to look there. So a cell phone friendly login form should put the most vital info in the upper half.
Post reply on HN