Skip to content

Ask for the passkey when it is the only second factor - #77

Merged
markusressel merged 1 commit into
masterfrom
fix/passkey-only-second-factor
Nov 1, 2026
Merged

markusressel merged 1 commit into
masterfrom
fix/passkey-only-second-factor

Conversation

@markusressel

Copy link
Copy Markdown
Member

An account with a passkey but no authenticator app gets {"status": "second-factor-required", "methods": ["passkey"]} after a password login. The second-factor step always showed the authenticator code field, so Markus was asked for a TOTP code he never set up.

  • With passkey as the only method, the step shows a hint and a "Use a passkey" button, no code field.
  • The passkey sheet opens right away after the password, since there is nothing to type.
  • Test: passkey only accounts open the passkey sheet right after the password. LoginViewModelTest passes (13 tests).

🤖 Generated with Claude Code

An account with a passkey but no authenticator app gets only "passkey" as
second factor method after the password. The step showed the authenticator
code field anyway. Now it shows a passkey button and opens the passkey sheet
right away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@markusressel
markusressel merged commit 8020da3 into master Nov 1, 2026
2 checks passed
@markusressel
markusressel deleted the fix/passkey-only-second-factor branch November 1, 2026 00:42
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.

1 participant