How Does Face ID or Touch ID Work? Intro to WebAuthn
This article enables you to understand what WebAuthn (Web Authentication) is and how it works

Search for a command to run...
This article enables you to understand what WebAuthn (Web Authentication) is and how it works

No comments yet. Be the first to comment.
The Technical Articles series covers topics like online safety, authentication, encryption, Docker, API mocking, and cloud infrastructure. It offers practical insights and tutorials to enhance security and development workflows in modern tech.
I recently attended a training session with the Auth0 Dev Rel team on a very cool new feature they have added called Auth0 Actions. In this article, I am going to explain what is Auth0 Actions, why to use them, and how to set one up. What are Auth0 A...
Explore ways to stay safe on the internet and why online security is important.

I recently attended a training session with the Auth0 Dev Rel team on a very cool new feature they have added called Auth0 Actions. In this article, I am going to explain what is Auth0 Actions, why to use them, and how to set one up. What are Auth0 A...

Opinions expressed are solely my own and do not express the views or opinions of my employer. Hey Hackers! I'm Rohit Mathew and I'm the Software Development Engineer at McAfee Enterprise. First of all, a huge thank you to the HackerNoon community and...

Intro to Envelope Encryption & Key Management Systems

Most of us are used to logging into different accounts using a password. For years this has been the norm but passwords also face other security issues:
Would it not be simpler to move towards a more passwordless login? A place where we don't have to remember or have to enter passwords to gain access to our accounts? One such passwordless solution is WebAuthn.
The Web Authentication API (also known as WebAuthn) is an API that enables strong authentication with public-key cryptography, enabling passwordless authentication and/or secure second-factor authentication without SMS texts.
Let's break that down to quickly understand:
Public Key Cryptography - So we use a key-based authentication (public and private key) to login and not a password. If you are not sure how it works I suggest watching this video.
Passwordless Authentication - In this type of authentication we will not be using a password to login but will use some form of user interaction to verify and login. This uses a hardware authenticator like a fingerprint sensor on your device or a YubiKey.
Secure Second-Factor Authentication Without SMS Texts - Two-Factor Authentication today is predominantly driven by SMS-based OTP but these are also susceptible to SIM swap. SIM swap is essentially taking control of someone’s phone number, and tricking a carrier into transferring it to a new phone. A two-factor authentication scenario-driven through a hardware authenticator using WebAuthn would be a safer solution to the above problem
It is a specification written by the W3C and FIDO, with the participation of Google, Mozilla, Microsoft, Yubico, and others. Web Authentication works hand in hand with other industry standards such as Credential Management Level 1 and FIDO 2.0 Client to Authenticator Protocol 2.
So like every other login situation:
Now what we don't see is a lot of what goes on in the background to facilitate this process. Let me explain a little more.

In this process, a new set of key credentials are created against the username entered by the user. This key credential is the crux of the process which enables us to make sure this authentication is in a passwordless manner.
There is a simple 8 step process that takes place:

Authentication is a similar process where the above-generated credentials are used to verify the user's identity by going through a signed challenge process again.
There is a simple 8 step process that takes place:

Absolutely. Let's quickly see some of the benefits:
and lastly NO MORE PASSWORDS
All that being said it does have some issues which are still to be solved:
WebAuthn is a much more secure authentication flow that is phishing resistant and only stores public data on a database with most private data generally stored on the hardware authenticator only. It makes use of asymmetric cryptography to do a user check and provides a much better UX compared to the existing login flow.
Currently, WebAuthn is majorly being driven as a two-factor authentication or universal 2nd factor workflow but could possibly replace password-based login in the future.
Hopefully, this article enables you to understand what WebAuthn is and how it works.
Thanks for reading! I really hope that you find this article useful. I invite you to participate in the discussion in the comments below, I'm always interested to know your thoughts and happy to answer any questions you might have in your mind. If you think this post was useful, please like the post to help promote this piece to others.
Thanks for reading! :)
P.S Do feel free to connect with me on LinkedIn or Twitter
The following have been great material that helped me write this article: