Implementing Passkeys with no dependencies

preview_player
Показать описание
Passkeys (or WebAuthn) are an amazing new technology that can be used to secure for login and registration without a password. I was very interested to understand them better so I created a demo project that logs in a user using passkeys, from scratch.

I'm using Ktor HTML to render server side HTML. I create a custom HTMX style syntax to add Passkey attributes.

0:00 - Passkeys explanation
0:40 - Demo
0:51 - Authentication explanation
4:40 - Documentation
5:25 - Server side code
8:07 - Client side code
10:19 - Fin
Рекомендации по теме
Комментарии
Автор

one time, years ago. i got drunk with my buddy and we had a conversation/argument on why we couldn't just ssh to all our accounts instead of using passwords everywhere.
we'll, now we can

nixoncode
Автор

How do you handle multiple users on the same browser, multiple browsers on the same computer, multiple devices for the same user, forgot passkey (I.E OS reinstall) etc.

MichaelBarry-gzxl
Автор

Nice overview, I was with you until I saw a JWT.

fifty-plus