SlideShare a Scribd company logo
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
twitter.com/philnash
twitter.com/philnash
@philnash@mastodon.social
@philnash@mastodon.social
linkedin.com/in/philnash
linkedin.com/in/philnash
https://philna.sh
https://philna.sh
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
Source:
Source: Google / Harris Poll December 2018
Google / Harris Poll December 2018
The State of Passwordless Auth on the Web - Phil Nash
1. password
2. 123456
3. 123456789
4. guest
5. qwerty
6. 12345678
7. 111111
8. 12345
9. col123456
10. 123123
Source:
Source: NordPass Top 200 most common passwords
NordPass Top 200 most common passwords
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
Hard to remember
good passwords
Hard to choose
good passwords
Needs password
managers
Easy to break easy
passwords
Password
leaks/credential
stuffing
Vulnerable to
phishing
The State of Passwordless Auth on the Web - Phil Nash
Good passwords
are easy
No repetition
Long, difficult
passwords
Unique passwords
Still vulnerable to
phishing
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
autocomplete="new-password" />
<input
1
type="password"
2
name="password"
3
id="password"
4
5
The State of Passwordless Auth on the Web - Phil Nash
type="email"
autocomplete="username" />
autocomplete="current-password" />
<input
1
2
name="username"
3
id="username"
4
5
6
<input
7
type="password"
8
name="password"
9
id="password"
10
11
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
if ("PasswordCredential" in window) {
const cred = new PasswordCredential({
id: userId,
password: password
});
try {
await navigator.credentials.store(cred);
} catch(error) {
console.error(error);
}
window.location.href = loggedInUrl;
}
1
2
3
4
5
6
7
8
9
10
11
12
const cred = new PasswordCredential({
id: userId,
password: password
});
if ("PasswordCredential" in window) {
1
2
3
4
5
try {
6
await navigator.credentials.store(cred);
7
} catch(error) {
8
console.error(error);
9
}
10
window.location.href = loggedInUrl;
11
}
12
await navigator.credentials.store(cred);
if ("PasswordCredential" in window) {
1
const cred = new PasswordCredential({
2
id: userId,
3
password: password
4
});
5
try {
6
7
} catch(error) {
8
console.error(error);
9
}
10
window.location.href = loggedInUrl;
11
}
12
const creds = await navigator.credentials.get({
password: true
});
if (creds) {
loginWith(creds);
}
1
2
3
4
5
6
unmediated: true,
const creds = await navigator.credentials.get({
1
password: true,
2
3
});
4
if (creds) {
5
loginWith(creds);
6
}
7
navigator.credentials.preventSilentAccess()
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
One click logins
No need to
remember
passwords
Easy to break easy
passwords
Password
leaks/credential
stuffing
Less vulnerable to
phishing
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
Two steps
Needs another
device
Requires phone
signal
Overcomes
poor/leaked
passwords with
second factor
Still vulnerable to
phishing
Targeted SMS
attacks are possible
The State of Passwordless Auth on the Web - Phil Nash
inputmode="numeric"
autocomplete="one-time-code" />
<input
1
type="text"
2
name="otp"
3
id="otp"
4
5
6
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
if ('OTPCredential' in window) {
navigator.credentials.get({
otp: {
transport: ['sms']
}
}).then((otp) => {
console.log(otp.code);
});
}
The State of Passwordless Auth on the Web - Phil Nash
Two (minimal)
steps
Needs another
device
Requires phone
signal
Overcomes
poor/leaked
passwords with
second factor
Less vulnerable to
phishing
Targeted SMS
attacks are possible
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
navigator.credentials.create({
publicKey: {
challenge: challengeFromServer,
rp: {
id: "example.com",
},
user: {
id: userId,
name: "philnash",
displayName: "Phil Nash",
},
pubKeyCredParams: [
{ type: "public-key", alg: -7 },
{ type: "public-key", alg: -257 }
]
}
navigator.credentials.get({
publicKey: {
challenge: challengeFromServer,
allowCredentials: [{
id: credentialId,
type: 'public-key',
transports: ['usb', 'ble', 'nfc'],
}]
}
});
Two (minimal) steps
Needs authenticator
key or platform
authenticator
Need to either move
key around or
register multiple
devices
Overcomes
poor/leaked
passwords with
second factor
Public/private key
cryptography,
unleakable!
Phishing
resistant!
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
No need for a password
Relies on email
Friction
Pretty secure
The State of Passwordless Auth on the Web - Phil Nash
WebAuthn but with platform authenticator
WebAuthn but with platform authenticator
Verifies the user on the device
Verifies the user on the device
Authenticates the user with the server
Authenticates the user with the server
Syncs across your devices
Syncs across your devices
Can be used cross device where sync is not
Can be used cross device where sync is not
possible
possible
if (window.PublicKeyCredential &&
PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailab
PublicKeyCredential.​
​
isConditionalMediationAvailable) {
Promise.all([
PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvail
PublicKeyCredential.​
​
isConditionalMediationAvailable(),
]).then(results => {
if (results.every(r => r === true)) {
// Call WebAuthn creation
}
});
}
navigator.credentials.create({
publicKey: {
challenge: challengeFromServer,
rp: { id: "example.com" },
user: { id: userId, name: "philnash", displayName: "Phil N
pubKeyCredParams: [
{alg: -7, type: "public-key"},
{ type: "public-key", alg: -257 }
],
authenticatorSelection: {
authenticatorAttachment: "platform",
requireResidentKey: true,
}
}
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
authenticatorSelection: {
authenticatorAttachment: "platform",
requireResidentKey: true,
}
navigator.credentials.create({
1
publicKey: {
2
challenge: challengeFromServer,
3
rp: { id: "example.com" },
4
user: { id: userId, name: "philnash", displayName: "Phil N
5
pubKeyCredParams: [
6
{alg: -7, type: "public-key"},
7
{ type: "public-key", alg: -257 }
8
],
9
10
11
12
13
}
14
});
15
https://www.passkeys.io/
https://www.passkeys.io/
No need for a password
Requires platform
authenticator
Syncs
Phishing
resistant
Unleakable
Perfect?
Browser support!
Browser support!
But it's coming
But it's coming
The State of Passwordless Auth on the Web - Phil Nash
Detect passkey support and offer it first
Detect passkey support and offer it first
Support multiple passkeys
Support multiple passkeys
Fallback to password with 2FA
Fallback to password with 2FA
Once a user can use passkeys, upgrade and
Once a user can use passkeys, upgrade and
remove old, weak credentials
remove old, weak credentials
https://passkeys.dev/
https://passkeys.dev/
https://webauthn.me/
https://webauthn.me/
https://web.dev/passkey-registration/
https://web.dev/passkey-registration/
https://web.dev/web-otp/
https://web.dev/web-otp/
https://philna.sh/blog/2022/12/07/better-
https://philna.sh/blog/2022/12/07/better-
two-factor-authentication-experiences-with-
two-factor-authentication-experiences-with-
web-otp/
web-otp/
https://web.dev/security-credential-
https://web.dev/security-credential-
management/
management/
twitter.com/philnash
twitter.com/philnash
@philnash@mastodon.social
@philnash@mastodon.social
linkedin.com/in/philnash
linkedin.com/in/philnash
https://philna.sh
https://philna.sh

More Related Content

PDF
The state of passwordless auth on the web
PDF
The state of passwordless auth on the web
PPTX
WebAuthn - The End of the Password As We Know It?
PDF
Enhancing Password Manager Chrome Extension through Multi Authentication and ...
PDF
Chrome Dev Summit 2020 Extended: Improve Your Web Authentication Security
PDF
WP Passkey: Passwordless Authentication on WordPress
PDF
Web Authn & Security Keys: Unlocking the Key to Authentication
PPTX
Passwords are passé. WebAuthn is simpler, stronger and ready to go
The state of passwordless auth on the web
The state of passwordless auth on the web
WebAuthn - The End of the Password As We Know It?
Enhancing Password Manager Chrome Extension through Multi Authentication and ...
Chrome Dev Summit 2020 Extended: Improve Your Web Authentication Security
WP Passkey: Passwordless Authentication on WordPress
Web Authn & Security Keys: Unlocking the Key to Authentication
Passwords are passé. WebAuthn is simpler, stronger and ready to go

Similar to The State of Passwordless Auth on the Web - Phil Nash (20)

DOCX
Chapter 6Authenticating PeopleChapter 6 OverviewThe th
PDF
Web Authentication: a Future Without Passwords?
PPT
Improving Usable Authentication
PDF
Strong Authentication (Michal Sobiegraj)
ODP
All Your Password Are Belong To Us
PDF
IRJET- Password Management Kit for Secure Authentication
PPTX
The Yubikey
PDF
Google Case Study - Towards simpler, stronger authentication
PPTX
Redesigning Password Authentication for the Modern Web
PDF
Node.js Authentication and Data Security
PDF
WebAuthn
PPTX
Data Con LA 2019 - So You got Hacked, how Quickly Can your Company Recover? b...
PDF
Solving problems with authentication
PDF
Password Overload_ Smart Ways to Manage Your Digital Keys in 2025.pdf
PDF
Getting authentication right
PDF
Secure All Teh Things - Add 2 factor authentication to your own CFML projects
PDF
TYPES OF AUTHENTICATIONS IN WEB BASED FRONTEND
PDF
TYPES OF AUTHENTICATIONS IN WEB BASED FRONTEND
PDF
Passwords are so 1990
PDF
sthlm.js - Passwords are so 1990
Chapter 6Authenticating PeopleChapter 6 OverviewThe th
Web Authentication: a Future Without Passwords?
Improving Usable Authentication
Strong Authentication (Michal Sobiegraj)
All Your Password Are Belong To Us
IRJET- Password Management Kit for Secure Authentication
The Yubikey
Google Case Study - Towards simpler, stronger authentication
Redesigning Password Authentication for the Modern Web
Node.js Authentication and Data Security
WebAuthn
Data Con LA 2019 - So You got Hacked, how Quickly Can your Company Recover? b...
Solving problems with authentication
Password Overload_ Smart Ways to Manage Your Digital Keys in 2025.pdf
Getting authentication right
Secure All Teh Things - Add 2 factor authentication to your own CFML projects
TYPES OF AUTHENTICATIONS IN WEB BASED FRONTEND
TYPES OF AUTHENTICATIONS IN WEB BASED FRONTEND
Passwords are so 1990
sthlm.js - Passwords are so 1990
Ad

More from All Things Open (20)

PDF
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
PPTX
Big Data on a Small Budget: Scalable Data Visualization for the Rest of Us - ...
PDF
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
PDF
Let's Create a GitHub Copilot Extension! - Nick Taylor, Pomerium
PDF
Leveraging Pre-Trained Transformer Models for Protein Function Prediction - T...
PDF
Gen AI: AI Agents - Making LLMs work together in an organized way - Brent Las...
PDF
You Don't Need an AI Strategy, But You Do Need to Be Strategic About AI - Jes...
PPTX
DON’T PANIC: AI IS COMING – The Hitchhiker’s Guide to AI - Mark Hinkle, Perip...
PDF
Fine-Tuning Large Language Models with Declarative ML Orchestration - Shivay ...
PDF
Leveraging Knowledge Graphs for RAG: A Smarter Approach to Contextual AI Appl...
PPTX
Artificial Intelligence Needs Community Intelligence - Sriram Raghavan, IBM R...
PDF
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
PPTX
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
PDF
The Death of the Browser - Rachel-Lee Nabors, AgentQL
PDF
Making Operating System updates fast, easy, and safe
PDF
Reshaping the landscape of belonging to transform community
PDF
The Unseen, Underappreciated Security Work Your Maintainers May (or may not) ...
PDF
Integrating Diversity, Equity, and Inclusion into Product Design
PDF
The Open Source Ecosystem for eBPF in Kubernetes
PDF
Open Source Privacy-Preserving Metrics - Sarah Gran & Brandon Pitman
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
Big Data on a Small Budget: Scalable Data Visualization for the Rest of Us - ...
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
Let's Create a GitHub Copilot Extension! - Nick Taylor, Pomerium
Leveraging Pre-Trained Transformer Models for Protein Function Prediction - T...
Gen AI: AI Agents - Making LLMs work together in an organized way - Brent Las...
You Don't Need an AI Strategy, But You Do Need to Be Strategic About AI - Jes...
DON’T PANIC: AI IS COMING – The Hitchhiker’s Guide to AI - Mark Hinkle, Perip...
Fine-Tuning Large Language Models with Declarative ML Orchestration - Shivay ...
Leveraging Knowledge Graphs for RAG: A Smarter Approach to Contextual AI Appl...
Artificial Intelligence Needs Community Intelligence - Sriram Raghavan, IBM R...
Don't just talk to AI, do more with AI: how to improve productivity with AI a...
Open-Source GenAI vs. Enterprise GenAI: Navigating the Future of AI Innovatio...
The Death of the Browser - Rachel-Lee Nabors, AgentQL
Making Operating System updates fast, easy, and safe
Reshaping the landscape of belonging to transform community
The Unseen, Underappreciated Security Work Your Maintainers May (or may not) ...
Integrating Diversity, Equity, and Inclusion into Product Design
The Open Source Ecosystem for eBPF in Kubernetes
Open Source Privacy-Preserving Metrics - Sarah Gran & Brandon Pitman
Ad

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Approach and Philosophy of On baking technology
PDF
August Patch Tuesday
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
1. Introduction to Computer Programming.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Artificial Intelligence
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
A comparative study of natural language inference in Swahili using monolingua...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Approach and Philosophy of On baking technology
August Patch Tuesday
Diabetes mellitus diagnosis method based random forest with bat algorithm
A comparative analysis of optical character recognition models for extracting...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1. Introduction to Computer Programming.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Tartificialntelligence_presentation.pptx
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Univ-Connecticut-ChatGPT-Presentaion.pdf
Machine Learning_overview_presentation.pptx
Unlocking AI with Model Context Protocol (MCP)
OMC Textile Division Presentation 2021.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

The State of Passwordless Auth on the Web - Phil Nash