dub icon indicating copy to clipboard operation
dub copied to clipboard

Sign in with passkeys + 2FA

Open steven-tey opened this issue 1 year ago • 4 comments

next-auth passkeys docs: https://authjs.dev/getting-started/providers/passkey

steven-tey avatar Aug 06 '24 21:08 steven-tey

Hi @steven-tey Can I work on this? I have experience implementing Passkeys on my personal projects.

sagarhedaoo avatar Aug 10 '24 16:08 sagarhedaoo

@steven-tey Is any team working with this feature?

sagarhedaoo avatar Aug 13 '24 05:08 sagarhedaoo

The scope of this issue really should be split into 2FA and passkey support. However, regarding the 2FA aspect, I'd like TOTP 2FA support in addition to passkey (FIDO2) 2FA, because FIDO2 2FA requires that the browser be capable of it, which most mobile ones aren't yet, especially in a consistent manner. In comparison, TOTP also works across all devices, since it's as simple as copying a few numbers.

RokeJulianLockhart avatar Sep 27 '24 10:09 RokeJulianLockhart

Agree that 2FA and passkey are separate issues. This should be split. Passkeys are password replacements or alternatives (and not simply another form of 2FA).

Verification code implementation should consider recent developments in the otpauth specification: https://otpauth.dev/#specification-details

andesco avatar May 23 '25 19:05 andesco

https://github.com/dubinc/dub/issues/1150#event-18016336742

@steven-tey, have you split it...? This issue isn't linked to any replacements.

RokeJulianLockhart avatar Jun 06 '25 09:06 RokeJulianLockhart