Passkeys in Django: the best of all possible worlds
summary
Passkeys replace passwords with public/private keys to make login both easier and (usually) more secure, and can often replace a separate 2FA step. Implementation uses the django-otp-webauthn package, adds a small JS piece into the Django admin demo, and needs HTTPS and browser JS so it’s not universal. The team ships a working example and an admin UI that registers keys, skips OTP checks via a decorator, and uses the FIDO metadata JSON for provider IDs; it mostly works but has export, deletion and cross-device sync edge cases.
AI-written summary · about
chapters (10)
- 0:00Introduction and audience poll
- 1:23What are passkeys and why use them
- 3:12Security benefits of passkeys
- 6:00UX and accessibility advantages
- 9:11Implementing passkeys in Django
- 11:42Demo of passkey login in Django admin
- 13:25Handling passkey management and 2FA
- 14:28Proposal for Django core inclusion
- 17:37Call to action and conclusion
- 18:44Q&A session
