Home / Docs / Plugins / Passkey

@capgo/capacitor-passkey

Passkeys for Capacitor with a browser-style WebAuthn shim, minimal JavaScript changes, and native setup generated during sync.

@capgo/capacitor-passkey lets a Capacitor app keep the same WebAuthn flow you already use on the web while the plugin handles the native passkey calls on iOS and Android.

await navigator.credentials.create({ publicKey: registrationOptions });
await navigator.credentials.get({ publicKey: requestOptions });