Skip to content
pubscout

passkeys

2.24.2, released 6 days ago by corbado.com

Flutter plugin enabling passkey authentication based on WebAuthn and FIDO2.

Rock solid
$ flutter pub add passkeys
Source repository

What it does

Enables user registration and login through native device biometrics (such as Face ID, Touch ID, or fingerprint readers) using passkeys. Abstracts platform-specific passkey APIs on Android, iOS, macOS, Windows, and Web. Supports advanced features like the PRF extension and conditional UI creation.

AI-written summary of version 2.24.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to implement passkey-based signup and login in your Flutter application
  • You are using a custom relying party server or a provider like Corbado that implements WebAuthn
  • You need to derive secrets from a passkey using the WebAuthn PRF extension

Skip it when

  • You only require traditional password or standard OAuth/social login flows without passkeys
  • You are targeting platforms that do not support passkeys like Linux

Strengths

  • Cross-platform support across Android, iOS, macOS, Windows, and Web
  • Supports WebAuthn PRF extension for client-side encryption key derivation
  • Handles platform-specific complexities of WebAuthn and conditional UI

Weaknesses

  • Requires a compatible relying party backend to store and validate public keys
  • Platform support varies for certain features (e.g., conditional create or PRF require specific OS versions)
  • Linux is not supported

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
8

Requires proper association configuration with your relying party server and native app identifiers for passkey functionality to work.

final passkeyAuthenticator = PasskeyAuthenticator();
final webAuthnChallenge = await relyingPartyServer.startSignUpWithPasskey('user@example.com', 'Username');
final platformRes = await passkeyAuthenticator.register(webAuthnChallenge);
final relyingPartyServerRes = await relyingPartyServer.finishSignUpWithPasskey(platformRes);

Alternatives

Packages that do the same job and could replace passkeys.

  • local_auth

    If you only need basic device biometric prompting (fingerprint/face) rather than standard WebAuthn passkey authentication.

Works with

Packages commonly used together with passkeys: ones it builds on, ones built on it, and its own family.