this post was submitted on 13 Mar 2026
1247 points (98.2% liked)

Programmer Humor

30700 readers
2117 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] MaggiWuerze@feddit.org 281 points 2 weeks ago (6 children)

Also This strange trend to split username and password on to two separate pages, or only showing the password field after confirming the username

[–] neidu3@sh.itjust.works 85 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

Not that strange. Different users may belong to different groups which may have different authentication backends. The associated authentication method is brought up once a username has been provided.

[–] lime@feddit.nu 52 points 2 weeks ago (1 children)

if your choice of api route directly affects your auth flow something is very wrong.

load more comments (1 replies)
[–] atomicbocks@sh.itjust.works 29 points 2 weeks ago

You can do that as part of an OAuth workflow. You don’t need to have them on separate pages for that to happen.

[–] paraphrand@lemmy.world 10 points 2 weeks ago

Yes, but, it also lets them slurp up email addresses. Routing users is legit tho.

[–] IcedRaktajino@startrek.website 54 points 2 weeks ago* (last edited 2 weeks ago)

And the auto-submitting TOTP entry form where you're apparently not allowed to make a typo. And obscuring the TOTP number like it's a password or state secret.

[–] bamboo@lemmy.blahaj.zone 33 points 2 weeks ago (1 children)

This is because of Enterprise Single Sign On. You can try this for yourself by going to https://gmail.com/ and enter the email of a public person at a large org, for example the CEO of Doordash (tony@doordash.com). After you enter the email, you get sent to Doordash's employee portal to authenticate. Based on the email you provide, Gmail has to figure out if you need to provide a password to gmail itself or if the email authenticates another way.

[–] Jesus_666@lemmy.world 18 points 2 weeks ago (2 children)

It's not like you can't add a "Log in with your company's SSO" button to the form. That works just fine and at least Microsoft does something like that.

[–] bamboo@lemmy.blahaj.zone 9 points 2 weeks ago (6 children)

Not sure I'd take design inspiration from Microsoft of all places. Also https://login.live.com/ has the same workflow email -> continue -> password. Not sure where you're seeing Log in with SSO option.

load more comments (6 replies)
load more comments (1 replies)
[–] ricecake@sh.itjust.works 8 points 2 weeks ago

That ones because users like choice. They need to look up who you are to know how you've chosen to authenticate. At least, that's how it started. Some could be doing it because the big kids are, but that's why the big kids do.
And they support choice because businesses want to use their login infrastructure and refuse to share. So you enter "user@businessOrUniversity.com.edu" and it forwards you to your institutional login.

load more comments (2 replies)
[–] LiveLM@lemmy.zip 134 points 2 weeks ago* (last edited 2 weeks ago) (7 children)

The best I've seen was yesterday where a website had the log-in button greyed out after the password manager filled my creds in.
So I had to manually click both the email and password field. Just click them. Then it enabled the log-in button.
So someone took their time to write a piece of JS that said "If the user hasn't focused both fields at least once, no login". Literally why? Extra code that does nothing useful.


I was hoping passkeys would be the solution to this madness, but it seems to me the entire spec gives too much power to the OS Makers and too little to the users because "mUh AtTtEsTatIoN" so now I don't know anymore

[–] Gumbyyy@lemmy.world 60 points 2 weeks ago (3 children)

I've definitely run into that. Even more frustrating is when there was one particular site that forced me to actually delete the last character of my password and then retype it. Just focusing in the field wasn't enough, I had to actually send it a keystroke. And Ctrl-V to paste the password in manually didn't count. I suppose typing a random character at the end and then deleting it would have worked too.

[–] towerful@programming.dev 36 points 2 weeks ago (1 children)

When ctrl+v is disabled to "prevent brute force bots" or something ridiculous

load more comments (1 replies)
[–] Jessica@discuss.tchncs.de 8 points 2 weeks ago

I used to have this problem with the payroll website ADP! So cursed

load more comments (1 replies)
[–] spizzat2@lemmy.zip 27 points 2 weeks ago (1 children)

My utitlies website doesn't let you login if the password field is autofilled by the browser. Whatever Angular-based form validation they are using doesn't play nice with Firefox's saved password feature. You have to manually type something in the password field, so I always add and remove a space from the password.

I sent an email to their support, hoping they would fix it, but they just responded saying that they can't reproduce it.

Well, I can reproduce it. I even told you how. That sounds like a skill issue.

load more comments (1 replies)
load more comments (5 replies)
[–] criticon@lemmy.ca 88 points 2 weeks ago (1 children)

Or worse:

Use email link -> use password instead

Enter password

Now enter the code that we sent you your email...

[–] ulterno@programming.dev 24 points 2 weeks ago* (last edited 2 weeks ago)

2 factor authentication, only when you feel like it.

They might as well be piping the password to /dev/null

[–] lung@lemmy.world 79 points 2 weeks ago (1 children)

HEY BUT DO YOU WANT TO USE A PASSCODE?? PASSCODE! PASSCODE! USE THE PASSCODE! -_-

[–] Psychodelic@lemmy.world 11 points 2 weeks ago (2 children)

Yeah what the hell is up with that one? Seems so sketchy

[–] panda_abyss@lemmy.ca 26 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

Passkeys are okay, but your browser and OS want you to use them because you can’t just take a passkey to another platform, you have to create a new one, and it’s a pain in the ass.

It’s a lock-in gimmick latching on to a real useful solution.

[–] 4am@lemmy.zip 48 points 2 weeks ago (4 children)

Password managers can hold Passkeys now and they’re portable. Bitwarden stores all of mine, use them on any machine.

[–] towerful@programming.dev 13 points 2 weeks ago* (last edited 2 weeks ago)

Yeh, I have passkeys in bitwarden.
I get it. Once they become ubiquitous, you click "login" your password manager prompts you to select account, and you are in.
No password that can be leaked, incorrectly stored, brute forced.
Corporations can pre-register company service passkeys for new users.
It's like mTLS, except staged.

[–] suicidaleggroll@lemmy.world 9 points 2 weeks ago (3 children)

While true, it still means you're locked into only being able to log in from a browser that has the password manager extension installed and logged in. Sometimes I want to log in from another machine, or another OS, or another browser, or even an incognito window that doesn't have access to my extensions.

load more comments (3 replies)
load more comments (2 replies)
[–] bdonvr@thelemmy.club 12 points 2 weeks ago

That's false. My passkeys sync to my password manager and are available on all my devices

load more comments (2 replies)
[–] voidsignal@lemmy.world 12 points 2 weeks ago* (last edited 2 weeks ago)

Passkeys are fine. It's just MTLS but by marketers (if by passcode you mean passkeys. otherwise, what's a passcode?)

[–] paequ2@lemmy.today 58 points 2 weeks ago (1 children)

God I hate those stupid magic links. They're WAAAAYYY slower than just using my password manager.

AND they kinda contribute to locking you into Big Tech. I sometimes have problems with those stupid links because I don't have a Gmail account. Somewhere along the stupid chain there's probably some stupid check that delays or blackholes emails to non-big-tech domains.

[–] definitemaybe@lemmy.ca 24 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Based.

Email is terrible. It's an unreliable communication system. You cannot depend on sent emails arriving in the recipient's mailbox—even the spam folder.

People incorrectly assume that all emails at least get to their spam folder. They don't. There are multiple levels of filters that prevent most emails from ever making it that far because most email traffic is bots blasting phishing links, scams, and spam. Nobody wants phishing and scam emails, but the blocks that prevent those are being used by big tech to justify discriminating against small mail servers.

I can't remember the site, now, but I literally couldn't log into one this week because the email never arrived.

load more comments (1 replies)
[–] peacefulpixel@lemmy.world 54 points 2 weeks ago (5 children)

alternatives to passwords are just excuses to harvest info

[–] Legianus@programming.dev 32 points 2 weeks ago (2 children)

Not if it comes to hardware-based passkeys I would argue

load more comments (2 replies)
load more comments (4 replies)
[–] HuntressHimbo@lemmy.zip 36 points 2 weeks ago (2 children)

Ah but you see it's one factor of authentication that also conveniently loops in whichever email provider is spying on you

[–] LedgeDrop@lemmy.zip 10 points 2 weeks ago

Ding! Ding!

This is the real answer: mail providers get to track you, your service get constant confirmation that your email is live (so they can send more ads from themselves plus their 400 closest affiliates). It's a win-win situation for everyone /s.

"The ~~beatings~~ enshitification will continue, until moral is improved."

load more comments (1 replies)
[–] JasonDJ@lemmy.zip 27 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

And then...

The password manager can't fill the form. You've got to change your 10-word, unique passphrase because it's 3 months old. And you have to verify with a text.

Oh and then you have to type it in on your TV with a remote and on-screen keyboard.

load more comments (1 replies)
[–] Assassassin@lemmy.dbzer0.com 25 points 2 weeks ago (2 children)

Just let me use passkeys at this point. The way that people typically use passwords is less secure anyway, why not just make it as simple as possible?

[–] Anafabula@discuss.tchncs.de 14 points 2 weeks ago (1 children)

I would love to use my physical Yubikey, but all the websites I've seen that allow passkey login always deny both Yubikeys.

load more comments (1 replies)
[–] bleistift2@sopuli.xyz 12 points 2 weeks ago (4 children)

I forget. Are passkeys the access method that prevents you from logging in ever again if you lose access to a device?

[–] Assassassin@lemmy.dbzer0.com 17 points 2 weeks ago (2 children)

Typically, no. You're thinking of TOTP/Authenticator based 2FA. Those still come with backup codes in case you break the phone that has the TOTP codes warehoused. I always recommend keeping those backup codes saved in the notes of whatever password manager you're hopefully using.

Passkeys are essentially just one half of a cryptographic key pair (like what you'd use for authenticating SSH without passwords). These allow you to authenticate once using password + 2FA, then use the generated passkey for future sessions. Since these are much more complex than passwords and remove the need to actually remember anything, they are significantly more secure.

There are also some other features that I'm forgetting, and that may not be a perfectly accurate description, but I think you can get the gist.

[–] Jesus_666@lemmy.world 9 points 2 weeks ago (3 children)

Passkeys are supposed to be bound to one device and protected by that device's OS's secure enclave. If you have a second device you're supposed to create a second passkey.

That's why many sites will flat out refuse to let you create a passkey with a desktop browser since a PC-stored passkey doesn't fit the security model.

load more comments (3 replies)
load more comments (1 replies)
[–] 4am@lemmy.zip 9 points 2 weeks ago

Only if you use the OS built-in saving.

Most password managers support them at this point, making them portable and secure.

[–] bdonvr@thelemmy.club 8 points 2 weeks ago

No? My password manager holds them so they are available everywhere...

load more comments (1 replies)
[–] GaMEChld@lemmy.world 23 points 2 weeks ago

As an autistic person I felt this in my bones. I cannot STAND email based authentication.

[–] UnfortunateShort@lemmy.world 23 points 2 weeks ago (7 children)

I love FIDO logins and next to fucking no one implements them :(

load more comments (7 replies)
[–] Routhinator@startrek.website 17 points 2 weeks ago (3 children)

Magic link is lazy 2fa.

Implement TOTP support, you lazy fucks.

load more comments (3 replies)
[–] SystemDisc@piefed.world 14 points 2 weeks ago (9 children)
load more comments (9 replies)
[–] Deebster 11 points 2 weeks ago

My email uses greylisting which is where the first email received from a server gets a "busy" response - the idea being that spammers just fire and forget whereas real mailers will retry.

Unfortunately, some senders take so long to resend that it's timed out. The second time will work though. Unless they have multiple servers. Some have so many servers that you have to do this a multitude of times until you lose the will to login or forget what you were going to do anyway.

[–] ZeldaFreak@lemmy.world 9 points 2 weeks ago (10 children)

Or the obscure ways for 2FA/MFA. Passkeys are mostly cloud based. Yeah fuck no! The weakest Passkey is weaker than my usual random generated password, if the site don't do any shady business and require a weak password. Hardware keys are luckily not pushed for usage. I don't like them either. You require at least 2, for backup reasons. They also cost quite some money and they have zero auth. Just connect to usb and tap it. Also retrieving the backup and get a replacement for a defective one, takes some time.

Good old TOTP as 2FA is perfect, paired with a strong, random password. With my TOTP, I have an encrypted backup in my cloud, on my NAS, older backups in secure places and backup codes in several places. The TOTP App I use is open source and I have a mirror of the source code.

This should be enough security, if sites don't screw up all the time. You can bypass 2FA all the time. Even the credit card company screwed up big time. Usually you get 2 separate letters, one with your pin and one with your card. Both came on the same day. Also I actually didn't needed the pin in the first place. I was able to add the card to the app and see the pin there, without actually verifying anything, except the credit card number.

Maybe when passkeys are supported in my password manager, I will try it but so far it isn't and switching is not an option, as it doesn't support the features I need. There is an open issue for an alternative password manager, with that feature request and it has some people wanting it, but its still not added. But passkeys doesn't fix the issue for me using stronger keys, it fixes the site owners to allow stronger keys but they are still not required to use it. Some devs are just weird. I've read one PR for an FOSS project I use, where someone wanted to implement a universal oath or such stuff, that would support all types of external authentifications. Nope, the dev refused the PR and they wanted to stay at the 2 proprietary implementations, for 2 services, even though this universal implementation would work with these 2 too. I can't tell exactly what it was. I was experimenting with an auth service for my self hosted stuff, to not deal with several accounts and rights systems. This service was the first one which I wanted to switch and they didn't wanted to support it, leaving me with the standard login.

load more comments (10 replies)
[–] brbposting@sh.itjust.works 9 points 2 weeks ago

But you know what’s the safest way for us to keep your password safe? Not asking for one to begin with. By not creating a password with us you have no risk of it leaking, and we don’t have to deal with the responsibility of keeping it secure. The sign in link is going to your email, which presumably is protected with two-factor authentication, if you have it set up (which you should!).

https://www.404media.co/we-dont-want-your-password-3/

They had a follow up later too (paywall)

load more comments
view more: next ›