DjangoCon US 2024: Passkeys: Your password-free future with Ryan Hiebert

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=RuTHuwUWiy4



Duration: 0:00
60 views
2


We'll start at the beginning, with a simple username and password login form, and explore various approaches that the web has taken to try to solve it.

We'll explore briefly OpenID (remember that?), Federation, Single Sign-on, Magic Links, and Login Codes, and why each of them has usability drawbacks that often mean that the username and password, especially combined with a password manager, just can't be beat for its user experience.

Passkeys, however, are the better option that we've been waiting for. There are still some important trade-offs, but are a much better fit for consumer applications, with a user experience that is quite comparable to using a password manager.

They can be a simple login button, or they can augment a username and password dialog very similarly to a password manager's autocomplete. Finally, we have a way that gives a good user experience and doesn't have us storing a potentially shared secret!

Now that we've motivated passkeys, we'll explore how we can integrate them into Django. We'll see how we can use them to log into the Django admin. Then we'll see if we can disable them entirely for Django, and how we can bootstrap our superuser account creation, so that our new Django project never has a username and password form at all!

Along the way, we'll also cover some important challenges that can come up with Passkeys in development and how to address them, including dealing with localhost, and remote development environments like Codespaces.


This talk was presented at: https://2024.djangocon.us/talks/passk...

LINKS:
Follow Ryan Hiebert πŸ‘‡
On Mastodon: https://fosstodon.org/@ryanhiebert
On X: https://x.com/ryanhiebert
Website: http://ryanhiebert.com/

Follow DjangoCon US πŸ‘‡
https://fosstodon.org/@djangocon
https://x.com/djangocon

Follow DEFNA πŸ‘‡
https://www.defna.org/


Video Production by Confreaks
Follow Confreaks πŸ‘‡
https://confreaks.com/
https://x.com/confreaks
https://confreaks.bsky.social/




Other Videos By Confreaks


2025-03-22DjangoCon US 2024: Operations: The Missing Django Piece with Micah Lyle
2025-03-22DjangoCon US 2024: Deploying Django migrations at Kraken scale with Tim Bell
2025-03-21DjangoCon US 2024: Only reliable Data: Protecting Database Integrity with Eva Nanyonga
2025-03-21DjangoCon US 2024: Lessons from E2E Testing Web Applications with Avindra Fernando
2025-03-20DjangoCon US 2024: Optimizing remote work: Pull Requests, Stand-ups, and emojis with Kasey Kelly
2025-03-20DjangoCon US 2024: Pygoat - Learn django security the hard way with Adarsh Divakaran
2025-03-19DjangoCon US 2024: Maps with Django with Paolo Melchiorre
2025-03-19DjangoCon US 2024: PostgreSQL Beyond Django: Strategies to Get Max Performance with Álvaro Justen
2025-03-18DjangoCon US 2024: Open-source Python tools to visualize and analyse ... with Samweli Mwakisambwe
2025-03-18DjangoCon US 2024: One Thousand and One Django Sites with Vince Salvino
2025-03-17DjangoCon US 2024: Passkeys: Your password-free future with Ryan Hiebert
2025-03-17DjangoCon US 2024: Django Ledger | Uniting Developers and Accountants for... with Miguel Sanda
2025-03-16DjangoCon US 2024: path('/user/user.username:user/', view_profile) with Willem Van Onsem
2025-03-16DjangoCon US 2024: An Opinionated Guide to Modern Django Forms with Josh Thomas
2025-03-14DjangoCon US 2024: API Maybe: Bootstrapping a Web Application circa 2024 with Carlton Gibson
2025-03-14DjangoCon US 2024: Panel Discussion: Open, friendly, and welcoming: on the... with Lacey Henschel
2025-03-13DjangoCon US 2024: Django User Model: Past, Present, and Future with Will Vincent
2025-03-13DjangoCon US 2024: A Guided Tour Through Postgres Internals with Elizabeth Garrett Christensen
2025-03-12DjangoCon US 2024: WebRTC with Django, Channels, HTMX, and coturn with Ken Whitesell
2025-03-12DjangoCon US 2024: A Brief History of Django with Frank Wiles
2025-03-12DjangoCon US 2024: Keynote - The Fellowship of the Pony with Natalia Bidart