Skip to content

Add support for passkeys to Hypha#4772

Open
frjo wants to merge 13 commits intomainfrom
feature/passkeys
Open

Add support for passkeys to Hypha#4772
frjo wants to merge 13 commits intomainfrom
feature/passkeys

Conversation

@frjo
Copy link
Member

@frjo frjo commented Mar 24, 2026

Fixes #4563

This implementation uses duo-labs/py_webauthn: Pythonic WebAuthn directly implementing it own Django wrapper. This is so passkeys are used as a stand alone logion method and not as a 2FA option.

The interesting parts are in passkey_views.py and passkeys.js.

Test Steps

  • Test that setting up and logging in with passkeys works on Mac, Windows, iPhone, Android and Linux.
  • Using build in OS support, using usb keys etc.
  • Test that ENFORCE_TWO_FACTOR are bypassed for passkey users. Passkeys are more secure than 2FA.
  • Audit the implementation for any issues.

@frjo frjo added Type: Feature This is something new (not an enhancement of an existing thing). Type: Minor Minor change, used in release drafter labels Mar 24, 2026
@frjo frjo requested a review from wes-otf March 24, 2026 10:17
@wes-otf
Copy link
Contributor

wes-otf commented Mar 24, 2026

This is exciting! looking forward to reviewing it in the next day or two!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Feature This is something new (not an enhancement of an existing thing). Type: Minor Minor change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reimplement 2FA to create a smother user flow and add support for passkeys

2 participants