Is the username/password era ending?

The username/password combination is an old solution to a problem that has changed dramatically. It was designed for a world where people remembered a handful of passwords and attackers had limited computing resources. Today, people maintain dozens or hundreds of accounts, phishing is industrialized, and stolen credentials are traded automatically.

We have better technology now.

What should replace usernames and passwords?

1. Passkeys — the best general-purpose replacement

Passkeys use public-key cryptography. Your device holds a private key, while the website stores the corresponding public key. When you sign in, your device proves possession of the private key without transmitting it to the website.

2. Hardware security keys — for high assurance

Devices supporting FIDO2/WebAuthn provide phishing-resistant authentication. They are especially appropriate for administrators, financial accounts, and anyone who wants a physical credential independent of a phone.

A lost key can be replaced if another registered key or recovery method is available.

3. Email links or one-time codes — convenient, but weaker

A user supplies an email address and receives a sign-in link or code. No permanent password is required.

This is easier to implement, particularly for occasional users, but security depends on the email account. Email phishing, compromised mailboxes, and session theft remain risks. SMS codes are also vulnerable to SIM-swapping and interception.

My preference would be passkeys for routine authentication, hardware keys for privileged access, and carefully designed recovery procedures. Email-based login is a reasonable alternative when convenience and accessibility outweigh the additional risk.

The bigger problem: why do websites need accounts at all?

I think this is the more interesting question.

Websites frequently demand registration even when they have little reason to know who the visitor is. That creates a database of personal information, adds administrative overhead, and gives attackers another target.

There are three distinct requirements that often get confused:

Requirement Better approach
Recognize a returning visitor Anonymous, random browser token
Preserve preferences or bookmarks Random identifier in a secure cookie, with server-side or carefully designed local storage
Prove permission to perform a sensitive action Passkey or another appropriately strong authentication method

These are different problems and don’t necessarily require the same solution.

For example, a woodworking website could let visitors bookmark articles, save preferences, and participate in certain site features without ever asking for a name or password. A random, revocable identifier could recognize the browser. Only features requiring persistent identity, moderation privileges, or account recovery would need stronger authentication.

The limitation is that an anonymous cookie identifies a browser, not a person. It can be copied, deleted, or lost, and it doesn’t establish who is using it.

What I would change about authentication

I’d favor the following design principles:

There is one important caveat: passkeys do not eliminate every authentication problem. Devices can be lost, accounts can be compromised through recovery procedures, and an attacker who steals an active session may not need to authenticate again. Authentication is only one part of account security.

Is the username/password era actually ending?

Yes, in a meaningful technical sense. The FIDO Alliance’s passkey approach and the WebAuthn standard have made passwordless authentication practical across mainstream platforms. Passwords will remain in use for years because of legacy systems, incompatible devices, and recovery requirements, but there is little reason for new systems to make them the default.

The real change is conceptual: instead of proving identity by presenting a secret that a user memorizes, the user proves control of a cryptographic credential.

My bottom line: the future should be identity when necessary, authentication when justified, and anonymity by default. A website shouldn’t need to know who you are merely to remember what you were doing.

That approach is particularly attractive for independent websites that value privacy and don’t need to collect personal information to function.

← All posts