Skip to content

feat(webauthn): Skip 2FA for user verified logins#62540

Open
mimi89999 wants to merge 1 commit into
nextcloud:masterfrom
mimi89999:feat/webauthn-skip-2fa
Open

feat(webauthn): Skip 2FA for user verified logins#62540
mimi89999 wants to merge 1 commit into
nextcloud:masterfrom
mimi89999:feat/webauthn-skip-2fa

Conversation

@mimi89999

Copy link
Copy Markdown

A WebAuthn login with user verification is already a second factor, so do not ask for an additional 2FA challenge

Summary

WebAuthn optionally performs user verification: a PIN or a fingerprint is checked on the device itself. That is effectively MFA, something the user has plus something the user knows.

This PR skips the 2FA challenge for those logins. Keys without user verification still go through the usual challenge.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@mimi89999
mimi89999 requested a review from a team as a code owner July 25, 2026 17:20
@mimi89999
mimi89999 requested review from Altahrim, leftybournes, provokateurin and salmart-dev and removed request for a team July 25, 2026 17:20
A WebAuthn login with user verification is already a second factor,
so do not ask for an additional 2FA challenge

Signed-off-by: Michel Le Bihan <michel@lebihan.pl>
@mimi89999
mimi89999 force-pushed the feat/webauthn-skip-2fa branch from a1172e1 to cc13da9 Compare July 25, 2026 17:35
@susnux
susnux requested a review from ChristophWurst July 25, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable 2FA when Webauthn is being used.

1 participant