Skip to content

fix: allow discoverable credentials login without PIN#158

Closed
forkline-bot[bot] wants to merge 1 commit intomasterfrom
fix/157-discoverable-credentials-login
Closed

fix: allow discoverable credentials login without PIN#158
forkline-bot[bot] wants to merge 1 commit intomasterfrom
fix/157-discoverable-credentials-login

Conversation

@forkline-bot
Copy link

@forkline-bot forkline-bot bot commented Feb 21, 2026

Summary

Fixes discoverable credentials (passkey) login by correcting the AuthenticatorOptions configuration.

Root Cause

The authenticator was configured with:

  • always_uv: Some(true) - requiring user verification for ALL operations
  • client_pin: None - indicating no PIN support available

When no PIN is set, the soft-fido2 handler returns OperationDenied because it requires UV but the authenticator is not protected by UV. This blocked all credential operations, including discoverable credential authentication.

Changes

  • client_pin: Noneclient_pin: Some(false) - PIN is supported but not currently set
  • always_uv: Some(true)always_uv: Some(false) - Allow operations without UV, relying on notification-based user presence

Testing

This enables passkey login on sites like GitHub/GitLab that use discoverable credentials without requiring username input.

Resolves: #157

The authenticator was incorrectly configured with always_uv=true and
client_pin=None, which blocked all credential operations when no PIN
was set. Changed to client_pin=Some(false) to indicate PIN support
without a configured PIN, and always_uv=Some(false) to allow
authentication via notification-based user presence.

This enables passkey login on sites like GitHub/GitLab that use
discoverable credentials without requiring username input.
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.

Login without username not working

1 participant