Skip to content

fix: allow discoverable credentials without UV requirement#164

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

fix: allow discoverable credentials without UV requirement#164
forkline-bot[bot] wants to merge 1 commit intomasterfrom
fix/157-discoverable-credentials

Conversation

@forkline-bot
Copy link

@forkline-bot forkline-bot bot commented Mar 4, 2026

Summary

  • Changed uv: Some(true) to uv: None to not claim built-in UV support (passless uses desktop notifications instead of biometrics)
  • Changed client_pin: None to client_pin: Some(false) to indicate PIN is supported but not currently set
  • Changed always_uv: Some(true) to always_uv: None to allow operations without mandatory UV

Background

This fixes passkey login without username (discoverable credentials) by allowing the authentication flow to proceed via user presence callback instead of requiring biometric UV which passless doesn't have.

When users click "Sign in with passkey" on sites like GitHub/GitLab, the browser sends GetAssertion with an empty allowList. The previous configuration required UV (always_uv: Some(true)) while claiming built-in UV support (uv: Some(true)), but since passless uses desktop notifications for verification (not true biometric UV), this caused operations to be denied.

Testing

This change allows the authentication flow to:

  1. Accept discoverable credential requests without mandatory UV
  2. Use the request_up callback for user presence verification via desktop notifications
  3. Work with passkey login flows on major sites

Resolves: #157

- Set uv: None to not claim built-in UV support (desktop notifications are used instead)
- Set client_pin: Some(false) to indicate PIN is supported but not set
- Set always_uv: None to allow operations without mandatory UV

This fixes passkey login without username by allowing the authentication
flow to proceed via user presence callback instead of requiring
biometric UV which passless doesn't have.

Resolves: #157
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